francoischalifour/medium-zoom

Configuration option to use natural height of image for zoomed image

nimarion opened this issue · 0 comments

The problem

Currently it is not possible that the zoomed image is shown without being cropped. I have a gallery view where multiple images are shown with a fixed width and height. When i zoom into a image the height and width of the gallery are being used instead of the natural height and width of the image.

mediumzoom.mp4

Solution

A configuration option which uses the natural height of the image