resized images to fix orientation issue