adding width and height to images