How to add lightbox effect for images in WordPress

Adding a lightbox effect to images, i.e. making them clickable and showing a zoomed version of the original image like on this page, is super simple on WordPress sites – or so it appears when reading through the various online tutorials on this topic. However, one crucial bit of information which is often omitted is that images need to be linked to themselves in order for the various lightbox plugins to work! So here is a super easy step-by-step explanation of how to add a lightbox to an image in WordPress.

1. Add your image

2. Hover over the image and click on “Insert link”

3. Select “Media File”

4. Install and activate a lightbox plugin

There are a great number of excellent lightbox plugins available for WordPress. Some plugins that I can recommend include:

I am currently using the ARI Fancy Lightbox.

5. The image should now be clickable!

6. Add link class “no-lightbox” to images or PDF’s that should not be put in a lightbox

Leave a Comment

Dear reader

Ads allow me to dedicate a significant amount of time into the creation of valuable content both on YouTube as well as on this website.

Please support my work by disabling your ad blocker or whitelisting this site!

Alternatively, you can remove all ads on this site by becoming a supporter for as little as 2$/month. Thereby, you will directly support my content on YouTube and on this blog!