FancyBox for WordPress

Wordpress Plugin
Download latest - 3.3.3

Download Stats

Today 155
Yesterday 281
Last Week 1,908
All Time 1,000,213
Banner 772x250

Seamlessly integrates FancyBox into your blog: Upload, activate, and you're done. Additional configuration optional.

You can easily customize almost anything you can think about fancybox lightbox: the border, margin width and color, zoom speed, animation type, close button position, overlay color and opacity and even more advanced option like several options to group images into galleries, and more...

By default, the plugin will use jQuery to apply FancyBox to ANY thumbnails that link directly to an image. This includes posts, the sidebar, etc, so you can activate it and it will be applied automatically.


You can see the plugin working on a this blog although there's nothing amazing to see, just a FancyBox simple implementation, that's the point ;) You can take a look at the code if you're curious, though.

Further Reading

This plugin is developed and maintained by Colorlib. Which is well know for their free WordPress themes. However, now they are looking to extend their presence in plugin development and believe that FancyBox lightbox is a great way to start.

If you are new to WordPress and want to lear more we have got you covered. Colorlib will teach you have to start a blog or create a website and much more. If you are already familiar with WordPress you likely want to learn how to make it faster and more reliable. That's when you want to look into hosting and more specifically WordPress hosting.

If you enjoy using FancyBox lightbox for WordPress please leave a positive feedback. We are committed to make it the best lightbox plugin for WordPress.

Releases (48 )

Version Release Date Change Log
3.2.7 2020-04-28
  • Fix for separate gutenberg blocks
  • Personalize script handles
  • Review dismiss fix
3.2.6 2020-01-20
  • Admin bar overfloat fix
  • Tooltip description bug fix
  • Add option for caption hide/show
3.2.5 2019-10-18
  • Fix title hide/show option
  • Fix extra height on lightbox image wrapper
3.2.4 2019-09-22
  • Removed dashboard news widget
3.2.3 2019-09-11
  • Fix for mobile close on content click
  • Fix for mobile close on overlay click
3.2.2 2019-06-14
  • Fix for padding issue when title inside position
  • Fix for title color when title is set to inside position
3.2.1 2019-04-15
  • Update toggles
  • Added new option to make a gallery for each gutenberg gallery block
3.2.0 2019-03-15
  • Admin UI minor update
  • Removed unneeded ie css file
  • Added option in Behaviour tab to exclude links that target .pdf files from being displayed in the lightbox
3.1.9 2019-02-15
  • Replace $.fancebox with $.fancyboxforwp.
3.1.8 2019-01-15
  • Fixed "Click to Hide on Overlay only works with Images"
  • Fixed "The requested content cannot be loaded" when trying to view page/post in fancybox
3.1.7 2018-12-28
  • Fixed incompatibilty with Envira Gallery
  • Fixed incompatibilty with NextGen Gallery
3.1.6 2018-12-09
  • Removed rollback functionality
3.1.5 2018-12-05
  • Added support for mp4 and webp files
3.1.4 2018-11-08
  • Made it work with query string and without query strings.
3.1.3 2018-11-07
  • Fixed "Parse error" -
  • Fixed "Breaks on query strings" -
  • Fixed "Caption problems" -
3.1.2 2018-10-30
  • Fixed "All links get the fancybox class"
3.1.1 2018-10-29
  • Removed print_r from fancybox.php
3.0.14 2018-10-29
  • Minor fixes.
3.1.0 2018-10-29
  • Updated FancyBox library to the latest version
  • Changed Admin UI
3.0.10 2016-09-10

= 3.0.5 = Fixes the Revert options button and wrong version number on settings page. Also updates links in settings page and readme file.

3.0.9 2016-09-10

= 3.0.5 = Fixes the Revert options button and wrong version number on settings page. Also updates links in settings page and readme file.

1.0.2 2016-09-10

= 3.0.5 = Fixes the Revert options button and wrong version number on settings page. Also updates links in settings page and readme file.

3.0.8 2016-09-10

= 3.0.5 = Fixes the Revert options button and wrong version number on settings page. Also updates links in settings page and readme file.

3.0.7 2016-09-10
  • Updated Fancybox library
  • Updated other libraries this plugins depends on such as jQuery easing and jQuery Mousewheel
  • Tested plugin with WordPress 4.6
3.0.6 2015-02-26
  • Fixes to JavaScript code for showing and hiding elements as they are needed in Settings page. (Thanks to jono55 for reporting)
3.0.5 2015-02-07
  • Fixed the Revert Options button.
  • Fixed wrong version number being shown on the plugin's settings page.
  • Updated plugin and author links in readme and settings page.
  • Updated localization catalog (POT file).
  • Updated Spanish translation with minor updates.
  • Updated Frequently Asked Questions in readme file.
  • Removed version number from printed html source code.
  • Removed outdated/incomplete translation binaries.
3.0.4 2015-02-05
  • Renamed the setting affected by the security issue mentioned in 3.0.3. This should stop the malicious code from appearing on sites where the plugin is updated without removing the malicious code.
3.0.3 2015-02-05
  • Fixed a security issue. (Thanks to mickaelb for reporting and Konstantin Kovshenin for providing the fix)
3.0.2 2012-07-12
  • Added support for disabling fancybox on individual hyperlinked images by adding class='nolightbox'. (Thanks to Artem Russakovskii)
  • Added a link to the github project page in the info tab in the settings page.
  • Fixed and cleaned the installation code, new installations of the plugin should work now without need to go to the settings page.
  • Fixed false positives in filenames. (Thanks to Artem Russakovskii)
  • Fixed incompatibility with wordpress installations where the wp-content directory had been renamed.
  • Fixed an issue that could cause the version of the plugin to be removed from settings when deactivating the plugin.
  • Improved HTTPS support by using better code to retrieve the plugin url and load files.
  • Removed legacy code to suport upgrading settings from 2.x versions of the plugin. This was done to avoid possible issues with clean installations of the plugin.
  • Updated some CSS rules in jQuery UI
  • Some minor reformatting and cleanup of code (PHP comments, empty lines, )
3.0.1 2011-12-18
  • Updated: Localization catalog updated.
  • Updated: Spanish localization.
  • Fixed: Minor change in settings page that may fix options page being invisible in some cases.
3.0.0 2011-12-15
  • New: Fancybox v1.3.4 support This includes many new options, like title position.
  • New: Additional FancyBox Calls option that lets the user write their own additional code to use FancyBox on specific areas of the blog, like email subscription buttons, login, etc.
  • New: Revert settings button added to options page. When pressed, a confirmation dialog will appear.
  • New: Improvements in options page, irrelevant settings (settings that depend on a disabled setting) will hide on real time, meaning a cleaner look in the options page.
  • Updated: New cleaner code to select thumbnails on which to apply the fancbox script.
  • Updated: Many parts of plugins rewriten with many improvements in code.
  • Updated: Options are now serialized into a single row in the database.
  • Fixed: Plugin should be SSL friendly from now on.
  • Fixed: Do not call jQuery option in troubleshooting section didn't work if easing was enabled.
  • Fixed: Load at footer options should work better now.
  • Fixed: CSS external files now addded with wp_enqueue_style().
  • Fixed: has_cap error: User level value for options page removed, using role now instead. Thanks to vonkanehoffen.
  • Removed: jQuery "noConflict" Mode option removed bacause jQuery bundled with WordPress always used noConflict.
  • Removed: Base64 data ("data:image/gif;base64,AAAA") in left and right fancybox link's backgrounds: It didn't seem to be working and it is usually regarded as suspicious code, so it has been removed.
2.7.5 2011-01-17
  • Fixed: Callback arguments are no longer added as "null" when they are not set in options page.
2.7.4 2011-01-16
  • Fixed: Little error tagging 2.7.3, a file didn't upload and broke options page.
  • Update: Language POT file
2.7.3 2011-01-16
  • Fixed: Settings not saving in some browsers. Thanks to supertomate
  • Fixed: JS being added to other plugins' configuration pages. Thanks to Brandon Dove
  • Added: Support section in options page with better information
2.7.2 2009-12-21
  • Fixed: Layout problem in options page in WordPress 2.9
2.7.1 2009-12-16
  • Fixed: Z-index issue was left out in previus release
  • Fixed: Setting to close fancybox when clicking on the overlay wasn't available in the menu
  • Fixed: Frame width and height options are now in the "Other" tab
  • Fixed: Tabs now translated in Spanish localization
2.7.0 2009-12-16
  • New: Fancybox v1.2.6 support
  • New: New Admin page with tabs for better organization of all the options
  • Added: Setting to change the speed of the animation when changing gallery items
  • Added: Setting to enable or disable Escape key to close Fancybox
  • Added: Setting to show or hide close button
  • Added: Setting to close fancybox when clicking on the overlay
  • Added: Setting to enable or disable callback function on start, show and close events
  • Added: Italian translation
  • Added: Russian translation
  • Added: "Load JS at Footer" option
  • Added: New Changelog tab in Wordpress Plugin Directory
  • Fixed: Some typos in Spanish translation
  • Fixed: FancyBox not showing above some elements (those with zindex higher than 90)
  • Fixed: JavaScript code being included in all admin pages instead of just the plugin's options page.
  • Fixed: noClonflict preventing frames to work in Fancybox
  • Fixed: Custom frame width and height not being applied
  • Updated: Japanese translation
  • Updated: JS is now Minified instead of Packed (thanks to
2.6.0 2009-06-26
2.5.1 2009-03-25
2.5 2009-03-25
2.2 2009-03-14
2.1.1 2009-03-14
2.1 2009-03-13
2.0 2009-03-12
1.3 2009-03-08
1.2 2009-02-28
1.1 2009-02-08
1.0 2009-02-08