You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click the image in lightbox to zoom in on the image
Pan an image by holding down a mouse click
Release the mouse click
On step 4 you will notice the image auto zooms out. This is because letting go of a pan counts as a click on the image; hence it zooms out. If you pan (long click) and bring the cursor to the OS menu bar (outside browser viewport) the image pans and doesn’t auto zoom out. We need to have a way so that a long-click release doesn’t auto-zoom out.
I also realized when clicking to zoom into an image it always zooms into the image center instead of zooming in to the area that one clicks. Checkout FancyBox’s implementation that allows you to click the plants at the bottom or the cliffs up top:
When using FancyBox for WordPress for a WP-post:
On step 4 you will notice the image auto zooms out. This is because letting go of a pan counts as a click on the image; hence it zooms out. If you pan (long click) and bring the cursor to the OS menu bar (outside browser viewport) the image pans and doesn’t auto zoom out. We need to have a way so that a long-click release doesn’t auto-zoom out.
https://wordpress.org/support/topic/panning-image-auto-zooms-out/
The text was updated successfully, but these errors were encountered: