A lightbox opens your images when you click a thumbnail. It's a technique to isolate the photo in a larger view, without navigating away from the page. Most major sites use some form of lightbox. The area around and behind the photo is usually darkened. Several extra features can make the lightbox experience better, such as social sharing or video capabilities. This page helps you gain insight of the differences between lightbox solutions and help you decide which lightbox to use for your gallery.
Compare lightbox features
Justified Image Grid includes several free lightboxes prepared for your use, these are labeled as bundled. You may choose to get extra features by purchasing a compatible lightbox separately. Their current price tag is indicated below.
PrettyPhoto
bundled
- 2
PhotoSwipe
bundled
- 2
Magnific Popup
bundled
- 2
ColorBox
bundled
- 1
FooBox
$29/year
- TBA
- 2
Carousel
free
- 3
Choosing a lightbox
With the wide variety of lightboxes available to use with Justified Image Grid, you'll likely find one that suits your needs. They are selected to be quite different and can appeal to various users.
How do I choose a lightbox?
- Identify what features you need to have in a lightbox. The glossary on the right helps with that.
- Check out the comparison table above, in light of these.
- See the demo pages for those that sound interesting.
- Pick a responsive lightbox that will fit desktops and mobiles - or pick any for desktop and then a responsive for mobile.
Lightboxes are assorted in a way that you do not need to pay extra just to have a feature - there are free, bundled alternatives for everything. Also there is no need to install a lightbox plugin separately. The choice is yours, there is no right or wrong here.
The default lightbox for desktop is PrettyPhoto, and the responsive counterpart for mobile is the PhotoSwipe. It's perfectly fine to keep using them as they are customized for JIG in a way that they complement each other.
Lightbox features glossary
What lightbox settings can I use and how do they work?
Learn more about the various settings that allow you to control the behavior of your selected lightbox.
- You can choose a different lightbox for desktop and for mobile devices.
- Choose the image size that opens in the lightbox.
- Choose what text shows up in lightboxes regardless of thumbnail captions. Use any WordPress image metadata field or custom field!
- Alternatives to lightbox: WordPress attachment page; open by the browser (same tab or new tab); or disable click on the thumbnails.
- Download link for the photo, with a browser dialog to save the image.
- Several extra settings that are for a specific lightbox.
- Optionally, only show the lightbox for logged in, registered users. This prevents easy access to the large view.
How do lightboxes work with Justified Image Grid?
- You can bypass the lightbox using custom links.
- Lightbox files are only loaded when actually used, to reduce clutter.
- Show just a few thumbnails and the rest only in the lightbox. This is used by the hidden limit (example: Preset 10), max rows and hidden incomplete last row settings. Also used for Load more, Straight to lightbox albums and similar views.
- The lightboxes bundled with Justified Image Grid can only be used with galleries created by JIG.
- Use multiple different lightboxes, even on the same page.
- You can choose any lightbox with any presets.
Custom lightbox choice
It's possible to use your own lightbox which is not listed here. Maybe it exists is your theme, or added by a 3rd party plugin. You can choose to utilize them only on desktop or mobile. Justified Image Grid is equipped with advanced settings for this. You can set link class, link rel, custom attribute name and value that is set on all thumbnail links. These are often required by lightboxes. Connect your custom lightbox to features such as Filtering or Load More using a Custom JavaScript call setting that runs your lightbox script whenever needed by JIG.