fancybox icon indicating copy to clipboard operation
fancybox copied to clipboard

Add zoomFactor option to control max zoom

Open warenix opened this issue 6 years ago • 9 comments

numeric, 1.0 means actual size, 2.0 means double the width and height

There's no zoom allowed if actual image size fits into the visible area. Sometimes we need to zoom in to see details such as seeing floor plan image.

Added $.fancybox.defaults.zoomFactor option to adjust maximum allowed zoom.

warenix avatar Dec 17 '18 07:12 warenix

I'm hoping they include this feature soon! Fancybox is awesome and would be even greater if we could zoom beyond fullscreen content

igorrocha avatar May 31 '19 11:05 igorrocha

I would also be very happy if we could zoom in beyond fullscreen

frydo avatar Apr 03 '20 07:04 frydo

@frydo Upcoming v4 will allow greater customization, you can preview it here - https://fancyapps.com/next/

fancyapps avatar Apr 03 '20 07:04 fancyapps

Hey Cool. Thanks for your answer.

frydo avatar Apr 03 '20 07:04 frydo

Does v4 have better handling for svg? Currently I am integrating fancybox3 and had to create a CSS workaround for svg.

frydo avatar Apr 03 '20 07:04 frydo

Actually, v3 handles SVG just fine, you just have to set some reasonable dimensions using data-width and data-height attributes, but v4 works just fine without extra steps.

btw, I am curious, what are you using SVG files for? (e.g., floor plans or ...)

fancyapps avatar Apr 03 '20 07:04 fancyapps

We use svgz for illustrated infopictures on a webshop. Can you say, when v4 get released?

frydo avatar Apr 04 '20 11:04 frydo

@frydo Upcoming v4 will allow greater customization, you can preview it here - https://fancyapps.com/next/

Just checked the v.4 preview realy impressed !!!! Fancybox is by far the best image gallery !!!

I'm using the paid version Can you give us an estimated release time ???

AthanGt avatar Apr 09 '20 06:04 AthanGt

@frydo Upcoming v4 will allow greater customization, you can preview it here - https://fancyapps.com/next/

I'm looking forward for the version 4 release. I saw your preview and I'm really amazed!! But since then I don't see any progress... Could you give us an estimated release time? I'm missing some features on v3*** like pinch to zoom on a trackpad, zoom with mouse wheel on windows and setting the zoom ratio (i.e. 1x, 2x etc.) I'm using very high resolution images to my website (up to 7000x7000 or more) and the v4 features are really important to me. So please let me know if you are planning a release in the near future or if I have to look for another image gallery. Thanks in advance

AthanGt avatar Feb 06 '21 05:02 AthanGt