Lightbox in WordPress allows showcasing images and other media on overlay formats. When an image is in a Lightbox, the image is displayed in an overlay and the rest of the website is darkened or smudged but still visible.
It is used to highlight the image or any media file. Lightboxes can be used to display images, videos or even forms.
Lightboxes are responsive to different screen sizes and hence compatible with all kinds of smart devices.
You can use lightboxes to:
- play a YouTube video,
- display images as a gallery,
- showcase screenshots to the users etc.
An Example of Lightbox.
As an example, I have placed the following image as a lightbox. When you click on it, you will see a popup/overlay with the image displayed on it.