Easy FancyBox

Wordpress Plugin
Download latest - 1.9.5



Download Stats

Today 4,460
Yesterday 5,989
Last Week 55,170
All Time 1,982,122
Banner 772x250

Easy FancyBox plugin for WordPress websites gives you a flexible and aesthetic light box solution for just about all media links on your website. Easy FancyBox uses an updated version of the traditional FancyBox jQuery extension and is WP 3+ Multi-Site compatible. After activation you can find a new section FancyBox on your Settings > Media admin page where you can manage the media light box options.

After activation, all links to JPG, GIF and PNG images are automatically opened in the FancyBox Mac/Gnome-style lightbox that floats over the web page.

GDPR / EU Privacy

This plugin does not collect any data and does not set any browser cookies. However, the PRO version offers an option to disable the automatic popup after the first visit, which needs a browser cookie. This cookie stores the visitors first website visit timestamp and path on the client side. It is not shared nor is any data stored server side or elsewhere.


Supported media and content types:

  • All common image formats including webp
  • Hosted video on Youtube, Vimeo and Dailmotion
  • PDF files (embed with object tag, in iframe or in external Google Docs Viewer)
  • SVG media images (thanks to Simon Maillard)
  • Inline HTML content (see instructions in the FAQs)
  • External web pages (see instructions in the FAQs)

Also supports:

  • WordPress Galleries (option "Link to" must be set to "Media File")
  • NextGEN galleries (see instructions)
  • Image maps (see instructions)
  • WordPress menu items (see instructions in the FAQs)
  • Jetpack Infinite Scroll
  • WordPress Multsite (see Installation instructions)

Additional features:

  • Modal window option (see instructions in the FAQs)
  • Automatic detection of media file links
  • Automatic detection of galleries
  • Popup on page load optional (see instructions in the FAQs)
  • Fade or Elastic popup effects
  • Styling options for light box overlay (color and opacity) and window (border size and color)

For advanced options and priority support, there is a Pro extension available. See Pro features below.

See FAQ's for instructions to manage YouTube, Dailymotion and Vimeo movies (and similar services) and tips to make inline content display in a FancyBox overlay.

Get support on the Easy FancyBox web page or WordPress forum.

Visit FancyBox for more information and examples.


  • Priority support on dedicated forum
  • Slideshow effect for galleries (autorotation)
  • Spotlight effect for the light box overlay
  • FacetWP, Gravity Forms and TablePress compatibility
  • More styling options: rounded corners, inline content background and text colors
  • More automatic popup options: triggered by URL hash, first link by media type, hide popup after first visit
  • Pass dedicated light box setting per media link via link class (see Metadata instructions in the FAQs)
  • More elastic (easing) popup effects on open and close
  • Show/hide image title on mouse hover
  • Fine-tune media link and gallery autodetection to match your theme source markup to allow galleries per post for example

For these additional features, you need to install the Pro extension alongside this free plugin.


If you're happy with this plugin as it is, please consider writing a quick rating or helping other users out on the support forum.

If you wish to help build this plugin, you're very welcome to translate Easy FancyBox into your language or contribute bug reports, feature suggestions and/or code on Github.

Known conflicts & issues

See Easy FancyBox Troubleshooting.

Releases (46 )

Version Release Date Change Log
1.9.5 2022-12-11

Bugfix release.


1.9.4 2022-10-20

Bugfix release.


1.9.3 2022-10-17

Bugfix release.


1.9.2 2022-10-16

Bugfix release.


1.9.1 2022-10-16

Bugfix release.


1.9 2022-10-13

Swipe support, fixed background and accessibility improvements.


1.8.19 2022-10-13

Admin settings links, new Exclude selector option.


1.8.18 2019-09-20

Fix Jetpack Tiled Gallery compat + security issue reported by Jakob Hagl sba-research.org


1.8.17 2019-08-12

Fix compat messages and links


1.8.16 2019-05-08
  • FIX: Trying to get property 'ID' of non-object
  • mark WordPress 5.2 compatible
1.8.15 2019-05-05
  • FIX: inline wrapper nesting issue
  • Revert to file names without version
1.8.14 2019-04-06

Fix inline wrapper nesting issue, versionless file names


1.8.13 2019-01-22

Prepare Visual Composer Masonry Grid Gallery compatibility option


1.8.12 2019-01-19

Prepare Visual Composer Masonry Grid Gallery compatibility option


1.8.11 2018-12-29

Force default autoselector for galleries


1.8.10 2018-12-28
  • Force default autoselector for galleries
1.8.9 2018-10-25

Prevent gallery next/prev links to show dud target.


1.8.8 2018-09-20

Improved Youtube regex.


1.8.7 2018-09-02

Autoplay for Youtube, Vimeo and Dailymotion. Bugfixes.


1.8.6 2018-08-01

Gutenberg compatibility and other bugfixes.


1.8.5 2018-08-01

Bugfix release: prevent Inline content title.


1.8.2 2018-05-05

Bugfix release: video autoplay and https; default enqueue priority; possible max stack reached by image preloader.


1.8 2018-04-26

Many FancyBox improvements. New options: Google Docs Viewer for PDF, Youtube privacy-enhanced embed, theme and plugins compatibility options. Pre WP 4.5 compatibility.


1.7 2018-04-14

Fix: pre PHP5.4 compatibility. Switch to wp_add_inline_script() script printing.


1.6.3 2018-03-16

Switch to wp_add_inline_script() and fix inline js minification incompatibility


1.6.2 2018-03-16
  • FIX: line breaks hidden on options media admin page since WP4.9, thanks @garrett-eclipse
1.6.1 2017-11-26
  • Nolightbox class in menu also for other media types than images
  • FIX: CSS color code
  • Spelling fixes, thanks @garrett-eclipse
  • FIX: Pinterest button compatibility
  • FIX: Double load plugin text domain
1.6 2017-11-24
  • Add webp to default Autodetect image types
  • Exclude more rel attribute values from galleries
  • BUGFIX: gallery preload
  • Update jquery.easing.js and jquery.mousewheel.js 2017-05-11

= 1.6 = Webp images autodetected by default. Some common rel tags excluded from autogallery. FIX: image preload. 2016-11-26

= = New features: auto-popup delay, margin, nolightbox... Bugfixes and PHP7 compatibility

1.5.8 2016-11-25
  • FIX: variable variable php 7 compat
  • Dropped IE6 support
  • FIX: obj undefined in minified js
  • FIX: nofancybox in menu ignored, thanks Trishah
  • Color value sanitize
  • NEW: auto popup delay
  • NEW: pro extension version compatibility check routine
  • NEW: margin option
  • NEW: iFrame alow full screen option
  • Dropped mu-plugins support
  • Added support for universal nolightbox class
  • Set focus on iframe after load
  • FIX: No center on scroll on touch devices
  • FIX: Allow fullscreen videos
1.5.7 2016-11-24
  • FIX: Pro extension link update
  • NEW: WebP support and class='image' to force image media type
  • IE 6-8 css rules optional
  • iframe embed for Youtube, Vimeo and Dailymotion
  • Croation translation
  • HTML5 players allowfullscreen default 2015-02-06

Metadata and image map support. Opening speed bugfix. New iFrame/HTML5 embed code for Youtube, Vimeo and Dailymotion. Frame color and opacity options. Media options simplification.


1.5.6 2014-07-17

Bugfix release.


1.5.5 2013-12-13

Mousewheel fix. New approach for IE alphaimageloader path fix with less compatibility issues.


1.5.2 2013-08-21
  • BUGFIX: easy_fancybox_handler() in combo with trigger('click') causes Uncaught Exception script error
1.5.0 2013-06-25

Many new options. Speed improvements: stylesheet browser caching, metadata.js compression. Security fix. Dutch, Indonesian and Polish translations.

= 2011-06-10

PDF bugfix. Improved auto-enable and auto-gallery settings and a Spotlight effect!

= 2011-02-20

PDF compatibility improvement, Dailymotion support and many new options and classes.

= 2011-01-24

FancyBox version 1.3.4 plus added PDF support and LOTS more options like border, overlay color, Easing, Title and adjustable YouTube, Vimeo and iFrame sizes! Missing WordPress auto-embed wmode fix.

= 2010-11-09

Size issue with fancybox-swf and iframe classes. Quick fix for image overlay size in Google Chrome browser issue with FancyBox 1.3.3

= 2010-11-05

New FancyBox version 1.3.3 included. Vimeo support. Auto-recognition of YouTube and Vimeo links.


1.3.2 2010-10-29
  • upgraded FancyBox script to version 1.3.2 2010-10-27
  • translation .pot file available
  • Dutch translation
  • Youtube and Flash movie support
  • Iframe support
  • added option Auto-enable for... 2010-09-08
  • added option titlePosition : over / inside / outside
  • added option transitionIn : elastic / fade / none
  • added option transitionOut : elastic / fade / none
1.3.1 2010-09-06
  • Using FancyBox version 1.3.1