add image and resizing