Simple Fancybox for WordPress image gallery. Works for both, shortcode gallery in classic editor and Gutengerg blocks. Install and activate, nothing else to set up here. Fancybox will work for WordPress galleries. By default, the plugin will use jQuery to apply FancyBox to any thumbnails that link directly to an image.
Fancybox includes support for touch gestures and even supports pinch gestures for zooming. It is perfectly suited for both mobile and desktop browsers.
Fancybox has been tested in following browsers/devices:
- Chrome
- Firefox
- IE10/11
- Edge
- iOS Safari
- Android 7.0 Tablet
Original fancybox script is licensed under the GPLv3 license for all open source applications. A commercial license is required for all commercial applications (including sites, themes and apps you plan to sell).
<a data-fancybox="" href="https://www.youtube.com/watch?v=_sI_Ps7JSEk">This link will open youtube video</a>
This link will open youtube video with defined max dimensions and close button
<a data-fancybox="" data-width="640" data-height="360" data-small-btn="true" href="https://youtu.be/rahRaVtEQaM?t=15m43s">This link will open youtube video with defined max dimensions and close button</a>
Download Simple Fancybox at WordPress