Add a [zoom] shortcode to display a zoomable featured image.
Add the [zoom] shortcode to a page, post or custom post-type post. If the post has a featured image it will displayed on the page, and when you move the cursor over the image, the image will be magnified with the image viewport remains constrained to the dimensions of the original image.
on a mobile/touch device the image will also be zoomable, but as there is no hover state this is achieved by means of a pinch & zoom action.
On my site you can see a demo of the plugin.
Ensure that your post/page has a featured image defined.
Use a [zoom] shortcode to your page.
Some optional shortcode parameters can also be used.
=size= The large image is used by default for the unzoomed image. Use the size parameter to use a different defined image size.
eg '[zoom size=thumbnail]'
=zoomsize= The full image is used for the zoomed overlay. This can be changed using the zoomsize shortcode parameter.
eg '[zoom zoomsize=large]'
The image size definitions used for the the unzoomed and zoomed images should have the same aspect ratio and cropping.
Requires: 4.7 or higher
Compatible up to: 4.7.3
Last Updated: 1 month ago
Active Installs: 700+
1 of 1 support threads in the last two months have been marked resolved.
Got something to say? Need help?