image is resizing but now showing resized image in view