removing images and resizing mine