Lightbox Gallery Effects

3 min read Updated

A lightbox gallery shows a grid of thumbnails; when a visitor clicks one, the full image (or a YouTube video) opens large over the page. Image Hover Effects Ultimate has 2 Lightbox layouts with 6 ready designs, and layout 1 is free.

A lightbox gallery open on a page: the owl photo shown large with its title and description below

The two layouts open the popup in different ways:

  • Lightbox 1 (free): the popup shows the item’s Title and Description as a caption under the image. Visitors can move to the next or previous item with the arrows, by swiping on a phone, and from the last item back to the first. The thumbnail can be an image or a button.
  • Lightbox 2 (Pro): each item opens in its own popup, with the image or video only. The thumbnail can be an image, a button or an icon.

See both on the Image Lightbox demo page.

  1. Go to Image Hover and click Templates on the Image Lightbox card.
  2. Pick a layout and design, click Use this design, type a name and click Create and edit.
  3. Choose what visitors click with Show Clickable Box (see the settings below), then add your items.
The lightbox gallery editor with four thumbnails, one hovered and showing the zoom icon

On the Content tab, under Add New Light box, click Open Light Box Form:

  • General Style: the thumbnail image (or the icon or button text, depending on Show Clickable Box).
  • Popup Settings: Select Type picks Image or Video. For an image, choose the large image from the Media Library or a Custom URL. For a video, paste a Youtube Link.
  • Title and Description: the caption in Lightbox 1.
The lightbox item form with the thumbnail, Popup Settings, Title and Description

A new form starts with sample text in Title and Description (“What is Lorem Ipsum?”): replace it with your own words, or clear it. Click Submit to add the item.

Lightbox styles have two tabs, Content and Advanced. The Content tab holds all the style settings:

  • General Settings: Show Clickable Box (Image, Button or Icon; Icon works in Lightbox 2), Column Size per device, background, padding and margin.
  • Image Settings: thumbnail size (Auto or Custom width and height), corners and shadow.
  • Icon Settings and Button Setting: the look of an icon or button trigger.
  • Icon Overlay Settings and Image Overlay & Icon: the icon and color layer that appear on a thumbnail on hover.
  • Light Settings: the background behind the open popup.
  • Heading & Details Style: font, color and spacing of the caption title and description.
Show Clickable Box marked in the General Settings of a lightbox gallery

The Advanced tab has Custom CSS and the order of your items. On the free plan, color fields are marked Pro Only and Save keeps the design’s colors.

Tips

  • Use a small, compressed image as the thumbnail and a larger one for the popup: the page loads fast and the popup stays sharp.
  • Write a short title and one line of description for each item; in Lightbox 1 they become the caption.
  • For a video, paste the normal YouTube page link (for example https://www.youtube.com/watch?v=...).

Related guides: Creating Your First Hover Effect, Image Hover Effects Shortcode, Free vs Pro, Image Hover Settings, Hover Effects Not Working. Lightbox 1 is built on the open source GLightbox script.

Still stuck?

A developer who works on Image Hover Effects answers every ticket.

Open a ticket