adding width and height to image