Add lightbox to wordpress

What is it?

Lightbox is a javascript library to enlarge and move all the images on the page to a full screen slideshow.

Source: Lightbox2 (lokeshdhakar.com)

Why do we need it?

In some case the images in wordpress posts are small and hard to see for users. Also, the default Gallery Block of WordPress Gutenberg does not work as a slideshow. To solve this problem, we can use lightbox.

How to do it?

Install Simple Lightbox plugin

Install Simple Lightbox plugin

Link the image to the full size image

Simple as that.

References

Tutorial: How to Enlarge an Image in WordPress (Lightboxes!) • WPShout

Leave a Reply 0

Your email address will not be published. Required fields are marked *