The best way to display a high-quality image, video, or infographics is to use the lightbox effect. The idea is to show an image or video with a high quality version when someone click on an element. This way you can give your visitors a better viewing experience.
When it comes to adding lightbox in WordPress, you have a handful number of lightbox plugin options. Among those plugins, Responsive Lightbox & Gallery is the best choice.
What is a Lightbox in WordPress?
A lightbox in WordPress is a window overlay or popup that appears over the website and shows an image, video, or any other content.
Here’s an example of a lightbox –
Now let’s dive into the tutorial.
How To Add A Lightbox In WordPress
First, you need to install the ‘Responsive Lightbox & Gallery’ plugin. Just go to your WordPress Dashboard > Plugins > Add New and search for ‘Responsive Lightbox & Gallery’. Install and activate the plugin.
Now navigate to Lightbox from the dashboard. Here you will find all the settings regarding the lightbox. Toggle different tabs and customize the lightbox settings as you want.
Now navigate to Gallery and click on Add New button.
Give a title of the lightbox and click on ‘Select Images’ button.
Upload your images and then select ‘Root Folder’. Then hit the ‘Use these items’ button.
Then hit the publish button and copy the shortcode.
Now open the page or post where you want to insert your lightbox. Then paste the shortcode here.
Publish the post and your lightbox will look like this –
So this is how you can add lightbox to your WordPress site.
There are a lot of free and premium lightbox plugins available among those this is the best plugin. If you still need more customization you can upgrade to the premium version of this plugin.
If you liked this post please share it with your friends and don’t forget to leave your thoughts in the comment box below.
Leave a Reply