resized images to make them square