FooBox Image Lightbox WordPress Plugin


FooBox was the first lightbox to take responsive layout seriously. Not only does it scale images to look better on phones, but it rearranges it’s button controls to look great in both portrait or landscape orientation.

Works with most image gallery plugins, but works best with our FooGallery Gallery WordPress Plugin.

New Feature : Gutenberg Ready!

FooBox works out of the box with the image block and gallery block in the new Gutenberg Editor. Image captions set in the editor are also automatically picked up by FooBox. All you need to do is make sure your images and galleries link to the media file.

Complete FooBox Asset Control

By default, FooBox includes javascript and stylesheet assets into all your pages. We do this, because we do not know if the page content contains media or not.
If you want more control over when FooBox assets are included, you can now exclude the assets by default, by enabling a setting. Then on each page, you can choose to include them when required.
Alternatively, you can leave the setting disabled, and then choose to exclude the FooBox assets from particular pages. A new metabox is now available when editing your pages or posts.
This new feature was only available in the PRO version beforehand, but we feel control over your website performance is something you should not have to pay for. Enjoy!

Now includes a 7-day free trial of FooBox Pro!

FooBox Image Lightbox Features:

  • Responsive design
  • Sexy lightbox design
  • Zero configuration!
  • Works with WordPress galleries
  • Works with WordPress captioned images
  • Control when to exclude / include FooBox JS & CSS assets

FooBox PRO Features:

  • Social sharing (10+ networks)
  • Video support
  • HTML support
  • iFrame support
  • Deeplinking
  • Fullscreen and slideshow modes
  • Metro lightbox style
  • 5 color schemes, 12 buttons icons and 11 loader icons
  • 85+ settings to customize

FooBox PRO Works With:

Check out the full feature comparison.



  • Frontend example
  • Phone example


  1. Upload foobox-free folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress


FooBox is not working. There is an error in the console “Uncaught ReferenceError: FooBox is not defined”

Some plugins or themes defer javascript in the page, which causes the FooBox initialization code to run BEFORE the FooBox main script is loaded. This has been fixed in version 1.2.24. Please upgrade.

My theme has a built-in lightbox and it shows under FooBox. What can I do?

There is a setting to try and disable hard coded lightboxes, but this is not a sure-fire solution for every scenario. If that setting does not work for you, you might need to deregister certain javascript files, or uncomment certain lines of code in your theme to remove it’s lightbox.


Not So Great After Using

Like the text overlay and customising option.

Not very mobile responsive in Masonry Gallery mode and no response to support question.

Nothing to complain about

Use the plugin for a while and I am fully satisfied! I recently upgraded to the Pro version. Together with the FOO Gallery the Lightbox fits perfectly into my photo page! I can only recommend it!

Unremoveable Ad for trial

Logged in just to give a review that there is a unremovable ad for a trial of their software. It says dismiss, except it shows up on EVERY admin page. And only dismisses temporarily. There is no settings page to disable this ad.


Does not work with images, didn’t see documentation on how to actually get a lightbox to appear on images. Had to delete and find new plugin.

Performs very well

I’m using the Pro version of FooGallery and FooBox. I’m extremely happy with the way that they work together. I’m switching over to this from NextGen Pro. Although there are more lightbox options with NextGen, I find that the FooGallery/Box combination is much quicker, easier to use, and has fewer bugs. NextGen has some issues that they just won’t fix. Support for the Pro versions of the Foo products is very detailed (via their ticket system, not via the forums here).

I would like more options for lightbox appearance, but then perhaps that would slow things down? It does all of the basic functions that I need, very efficiently

WARNING: Admin Spam

The plugin works as advertised, HOWEVER unless you like spam showing up in your admin notification areas, don’t install this plugin. The annoying trend of spamming the notification area on all admin pages leads to constantly having to dismiss messages that show up on every stinking page in the admin area, for all users. In only takes a few of these spammers messages to take up 1/3 to 1/2 of your screen area and you get the “privilege” of having to dismiss every one of them on every admin page you access. Let these developers know this is NOT acceptable by your ratings or by NOT installing this plugin.

Read all 59 reviews

Contributors & Developers

“FooBox Image Lightbox WordPress Plugin” is open source software. The following people have contributed to this plugin.


“FooBox Image Lightbox WordPress Plugin” has been translated into 4 locales. Thank you to the translators for their contributions.

Translate “FooBox Image Lightbox WordPress Plugin” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Added support for the Gutenberg gallery and image blocks
  • Updated to latest Freemius SDK 2.1.1
  • Fixed bug with horizontal scrollbar
  • Fixed bug with paging + filtering in FooGallery
  • Forced Youtube videos to open using
  • Updated to latest client JS & CSS fixing a few bugs


  • Updated to latest Freemius SDK 2.0.1


  • Updated to latest client JS & CSS fixing a few bugs
  • Removed deprecated functions for PHP 7.2 compatibility
  • Updated to latest Freemius SDK 1.2.4


  • Dropped support for IE7 and IE8 (removing CSS validation errors)
  • Updated to latest client JS & CSS fixing a few bugs


  • Added new setting to exclude FooBox assets by default
  • Added metabox on all public post types to include/exclude FooBox assets
  • Major version bump to avoid confusion with FooBox PRO


  • Fix : lightbox was not working with FooGallery paging
  • Updated to latest client CSS
  • Updated to latest Freemius SDK
  • Removed FooGallery admin notices


  • Fix : default caption state was disabled when no settings were saved.
  • Updated to latest Freemius SDK


  • Fix : disappearing captions. Renamed “Show Captions” setting to “Hide Captions” and default to disabled.


  • Added setting to disable captions
  • Added setting to change image counter text


  • Added better browser support for defer javascript loading added in 1.2.23


  • Added support for plugins that defer javascript loading, e.g. AutOptimize


  • Updated to latest JS and CSS fixing multiple issues and bugs


  • Updated to latest JS and CSS fixing some bugs
  • Updated to latest Freemius SDK
  • Free trial for PRO now included in getting started page


  • Fix deactivation issue when PRO is activated


  • New setting for dropping IE7 support (for valid CSS)
  • Fix for when multiple jQuery versions loaded on page!
  • Fix for not including scripts for setting ‘disable other lightboxes’


  • IMPORTANT : clear your site cache when updating – if you use a caching plugin.
  • Added clear cache message to getting started page
  • Removed duplicate settings page
  • Updated opt-in message
  • Fix : loosing scroll position when scrollbars are hidden


  • Integrated Freemius tracking and upgrade system
  • Moved FooBox into top-level menu item
  • Complete overhaul of Getting Started page, including demo
  • Updated to use latest FooBox JS and CSS


  • Hide foo admin notice on mobile devices
  • More CSS tweaks for admin on smaller screen sizes


  • Updated settings page to be responsive
  • Tested with WP 4.6


  • Updated to use latest FooBox JS and CSS
  • Removed discount for FooBox PRO


  • Updated to use latest FooBox JS and CSS
  • Updated settings to include demo tab
  • Updated admin screens be responsive on phones


  • Updated to use latest FooBox JS fixing few bugs
  • Smarter admin warnings when using with FooGallery


  • Updated to use latest FooBox JS fixing few bugs
  • Reorder selectors so FooGallery can take preference in some cases


  • Updated to use latest FooBox JS
  • Added new Getting Started landing page on activation
  • Added support for language packs
  • Better FooGallery integration


  • Updated to latest version of javascript and CSS files
  • Plays better with FooBox PRO now


  • Fixed navbar issues in Chrome on IOS


  • Fixed very minor vulnerability with add_query_arg function used in admin plugins page


  • Improved FooGallery support
  • Added keyboard navigation support!
  • 50% offer included for PRO version


  • Added FooGallery support
  • Added .nolightbox to exclusions
  • Added .pot translation file
  • Added Bottomless design banner to “FooBot Says…” tab

  • Fixed jQuery dependency issue with themes that do not load jQuery by default


  • Added setting “Show Captions On Hover”
  • Added “FooBot Says…” tab on settings page


  • first version!