Skip to main content
All CollectionsTroubleshooting and FAQsFrequently Asked QuestionsGallery Module
How to Include Image Titles in the Lightbox Window for the Gallery Module
How to Include Image Titles in the Lightbox Window for the Gallery Module

Learn how to include image titles in the Lightbox window of Divi's Gallery Module for a more informative and engaging gallery experience.

Updated over 3 months ago

Enhancing your gallery with informative titles can provide additional context and improve user engagement.

You can offer viewers valuable information alongside each image by including image titles in the lightbox window of Divi's Gallery Module.

This article will guide you through the steps to display image titles within the lightbox, creating a more informative and engaging gallery experience for your website visitors.

If the image title attribute is being set, the Lightbox window in the Gallery module will show its value.

Pro Tip: For each image that is uploaded to a WordPress website, the following attributes should always be set:

  • Alt Text (should always be set)

  • Title (should always be set)

  • Caption (optional)

  • Description (optional)

This will enhance SEO and ensure crucial Accessibility attributes are present.

Image details

The Lightbox window in the Gallery module will display the Image Title when an image is opened.

An example can be seen in the screenshot below:

Exmaple of Image title showing in the Lighbox window

How to set the attributes for images that have already been uploaded

  1. Go to WordPress Dashboard → Media → Library

  2. Click on any Image.

  3. Ensure that both the Alt Text and Title Text attributes are set.

A demo can be seen in the GIF below:

Demo of displaying the Image Title inside the Lightbox window
Did this answer your question?