assign image width