You can create a lightbox gallery from the page file attachments by adding the tag 'add_photo_gallery' to a basic page. 

The images from the 'Files' section of the page will then be added to a thumbnail grid underneath any page content.

Lightbox gallery grid

On clicking a thumbnail it will open in a lightbox to show a larger version of the image.  

Clicked lightbox image

If you want to add a short caption to an image you can add append the string '_caption' to the file name followed by the required text, replacing any spaces with underscores, e.g. DSC02761_caption_Two_women_with_glasses_on_their_heads.jpg.

The underscores will then be swapped for spaces when displayed on the front end.

Lightbox image with caption

 

Stay in touch

Receive all the latest news, webinars, updates, events and more right to your inbox. 

Join our Mailing List