Digital Photography Tips, Tutorials and Resources
Do you want to add a lightbox effect for image galleries in your photo album? Having lightbox enabled will help your visitors to better view the photos in your albums. In this tutorial, we will share how to enable lightbox for photo albums in WordPress.
Albums are collections of separate photo galleries. With a lightbox effect, your galleries will appear in a large popup so your audience can have a better view of your photo galleries and still stay on the same page. You’ll need a plugin like Envira Gallery to add photo albums with lightbox at your site.
To enable lightbox for photo albums in WordPress, you’ll need to follow these 5 steps:
- Step 1. Install and activate the Envira Gallery plugin
- Step 2. Install and activate Albums addon
- Step 3. Create a photo album using Envira
- Step 4. Go to lightbox settings and enable it
- Step 5. Add the photo album to your WordPress page/post
Ready to get started? Let’s go!
Step 1: Install and Activate Envira Gallery
First thing you need to do is install and activate Envira Gallery plugin at your site.
To learn more about installation, you should check out this guide on how to install Envira.
Step 2: Install and Activate Albums Addon
Upon activating the plugin, you need to go to Envira Gallery » Addons to install and activate Albums addon.
To access this addon, you must have Envira Gold or higher license. You can upgrade your license to get access to more features.
Once this addon is activated, you can create image albums.
Step 3: Create a Photo Album Using Envira
To create a photo album, you need to go to Envira Gallery » Albums. Click on the Add New button at the top of the page.
Let’s start by adding a title to the new album.
Now you can scroll down to Galleries tab to select the image galleries and hit the Add Selected Galleries to Album button.
To learn more, you should check out this guide on how to add a photo album in WordPress.
Step 4: Go to Lightbox Settings and Enable It
Next you should go to Lightbox tab and check mark Enable Lightbox. It will open up the lightbox options below.
You can change the lightbox theme, caption position at the popup, gallery arrows and position, keyboard navigation and more.
Step 5: Add the Photo Album to Your Site
Once you are satisfied with all the settings, you can hit the Publish button. A new widget will appear at the right side as Envira Album Code. Go ahead and copy the shortcode from there.
Simply edit your page/post or go to Pages/Posts » Add New from your WordPress admin backend. In the visual editor, you need to paste the shortcode.
Lastly you need to Update or Publish the page/post. Then you can go to your site and click on the image galleries in the photo album to see the lightbox popup.
We hope this tutorial has helped you to learn how to enable lightbox for photo albums in WordPress. You may also want to check out our guide on how to create a WordPress image gallery with next and previous buttons.
Using WordPress and want to get Envira Gallery free?
Envira Gallery helps photographers create beautiful photo and video galleries in just a few clicks so that they can showcase and sell their work.