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.
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:
How to set the attributes for images that have already been uploaded
Go to WordPress Dashboard → Media → Library
Click on any Image.
Ensure that both the Alt Text and Title Text attributes are set.
A demo can be seen in the GIF below: