images are maxed out and cropped in gallery view