FancyBox for WordPress
by colorlibplugins 4.6 (92 reviews)

FancyBox for WordPress

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

FancyBox for WordPress ranks #943 among WordPress.org plugins with 30,000+ active installations, is #117 of 6,303 in the Media category, a 4.6/5 rating from 92 reviews, and was last updated Aug 7, 2026. Data from WordPress.org, refreshed twice daily — see methodology.

Tested up to WP 7.0.4 (Current: 7.1)
v3.4.2 Current Version v3.4.2
Updated 1 month ago Last Update on 07 Aug, 2026
Refreshed 13 hours ago Last Refreshed on
#117 of 6,303 in Media Top 5% by installs Downloads -31.2% this week
View on WordPress.org
Rank
#943
No change
Active Installs
30K+
-22.4%
KW Avg Position
38.6
0.4 worse
Downloads
2M
+35 today
Support Resolved
0%
No change
Rating
92%
Review 4.6 out of 5
4.6 (92 reviews)

Next Milestone 40K

Total Progress 83.6%
30K+ 40K+
30
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 1,640 more installs to reach 40K+

Rank Changes

896 920 944 967 991 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
896 920 944 968 992 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
Current #943
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

0 50 100 150 200 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
0 50 100 150 200 250 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

4.6
92 reviews
Overall 92%
5
76 (83%)
4
6 (7%)
3
2 (2%)
2
1 (1%)
1
7 (8%)

Security History

Source: WPVulnerability

4 known vulnerabilities on record · 2 in the last 24 months · checked 1 week ago

  1. FancyBox for WordPress [fancybox-for-wordpress] < 3.3.6 (closed)

    CVE-2025-3662 · Fixed in v3.3.6

  2. FancyBox for WordPress [fancybox-for-wordpress] < 3.3.5 (closed)

    CVE-2024-5020 · Fixed in v3.3.5

  3. FancyBox for WordPress [fancybox-for-wordpress] < 3.3.4 (closed)

    CVE-2024-0662 · Fixed in v3.3.4

  4. FancyBox for WordPress [fancybox-for-wordpress] < 3.0.4 (closed)

    CVE-2015-1494 · Fixed in v3.0.4

TL;DR

AI summary of the plugin's readme

This plugin is for WordPress site owners and bloggers who want a lightbox effect for their images. It automatically applies the FancyBox lightbox to image thumbnails throughout the site, with optional customization of appearance and behavior.

  • Automatic thumbnail detection
  • Border customization
  • Margin width and color options
  • Zoom speed control
  • Animation type selection
  • Close button position setting
  • Overlay color and opacity
  • Image gallery grouping

Frequently Asked Questions

Common questions about FancyBox for WordPress

Three ways, and they stack: Set the image's Title in the media library or block settings — it appears under the image. Add a caption in the block editor — it is picked up automatically. Add data-caption to the link for longer or formatted text: Basic HTML such as <br>, <em> and <a> is allowed. Captions are sanitised before display, so scripts and event handlers are stripped.
Add class="nolightbox" to the link. Links from Envira Gallery and NextGen Gallery are skipped automatically so the two lightboxes do not fight. The lightbox looks wrong — the image is cut off, stretched, or barely visible Almost always another plugin or theme loading its own copy of FancyBox. Two stylesheets defining the same class names will fight, because FancyBox's CSS class names are shared. To check, open your browser's developer tools, look at the Network tab, and search for fancybox. If you see a .css file from anywhere other than /plugins/fancybox-for-wordpress/, that is the conflict. Disabling the other lightbox, or the option in your theme that loads it, resolves it. 3.4.2 fixed the worst version of this, where the image collapsed to a thin sliver and videos played sound with no picture. Images loaded by infinite scroll or lazy loading do not open Fixed in 3.4.1. Thumbnails added after the page has finished loading — infinite scroll, lazy loading, AJAX filters — are now detected and bound automatically. Update if you are on an older version.
Yes, with a filter. Put this in your theme's functions.php or a site-specific plugin: add_filter( 'mfbfw_is_enabled', function ( $enabled ) { return is_page( array( 'portfolio', 'gallery' ) ); } ); Returning false means nothing loads at all — no CSS, no JavaScript. There are also built-in switches for mobile, WooCommerce shop pages and product pages under Behaviour.
Turn on Exclude PDF files under Behaviour and PDF links will open normally. Note that iOS Safari cannot display a PDF inside an overlay at all. If your visitors are mostly on iPhones or iPads, excluding PDFs is the more reliable choice.
Under Galleries, choose how links are grouped: All images on the page — one gallery for everything (default) Each gallery block — one gallery per block editor gallery Each post — one gallery per post on archive pages No galleries — every image opens on its own Custom expression — write your own jQuery selector
WooCommerce has its own product image zoom, so there are switches under Behaviour to turn the lightbox off on shop and product pages. Page builders vary. The plugin looks for links pointing at an image file, so builders that output normal image links work. Builders that render their own lightbox usually need theirs disabled first.
Translations come from WordPress.org language packs and install automatically. If your language is missing or incomplete, you can help at translate.wordpress.org.
It adds roughly 82 KB of minified JavaScript and 14 KB of CSS. Nothing is loaded from an external server. Define SCRIPT_DEBUG in wp-config.php if you need the unminified sources for debugging. If you only need the lightbox on a few pages, the mfbfw_is_enabled filter above avoids loading anything elsewhere.
The support forum or GitHub. A link to a page showing the problem makes it far quicker to diagnose.

More plugins by colorlibplugins

Sign In / Register

You need to sign in or register to use this feature.