How to make images "Fit" in Gallery View

I have a gallery view and it is making the image big to fit in a square format. I do not want this, I want to see the entire image.
Is there a way to make the image fit in the square gallery format?

I think there is not “Fit” option for Gallery View, have you tried resizing your photos?