WP Lightbox 2 FAQ Post your Queries!

Question: Why doesn’t plugin is working for me?
Answers: Check the following reasons:
You have changed the plugin folder’s name to something other than “wp-lightbox-2″.

The problem is with your WordPress theme, mangling image display properties. Use another theme, that doesn’t interfere with posted images.

You have other plugins that conflict with Lightbox

Disable your other plugins and see if that helps. If it does, re-enable each plugin, one at a time to see which one is causing the conflict.

Question: It doesn’t work properly in Browser X (Explorer 6, 7, etc)?

Answer: Yes it does. The problem is with your WordPress theme, mangling image display properties. Use another theme, or change your theme’s Cascading Style Sheets (CSS).

Question:How to Use the plugin if not enabled as default ?

By default the option “Auto-lightbox image links” is enabled, means all the images in your website will have overlay color-box impact.

You can also add a rel=”lightbox” attribute to any link tag to activate the lightbox. For example:

<a title="my caption" href="images/image-1.jpg" rel="lightbox">image #1</a>

If you have a set of related images that you would like to group, simply include a group name in the rel attribute. For example:

<a href="images/image-1.jpg" rel="lightbox[roadtrip]">image #1</a>
<a href="images/image-2.jpg" rel="lightbox[roadtrip]">image #2</a>
<a href="images/image-3.jpg" rel="lightbox[roadtrip]">image #3</a>

To disable lightboxing of an image link, just set any other rel-attribute: rel=”nobox”.

Question:I tried to update “WP Lightbox 2” plugin as suggested by my site, but I get an error:

PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure

Answer: First check what is the version of WordPress you are using.
A: Try below steps –
1) Download the zipped plugin file to your local machine.
2) Unzip the file.
3) Upload the WP-lightbox-2 folder to the /wp-content/plugins/ directory
4) Activate the plugin through the ‘Plugins’ menu in WordPress.

B: If you are using similar plugin, disable that and check again.

Question: Hello, on my web with your WP Lightbox2, there is a no image title and image description in lighbox mode.


Use the title attribute if you want to show a caption.
example –
<a href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>

See demo and sample code here.

Share on Facebook

Subscribe to Yepinol via Email


Join 5000+ Other Readers


  1. Pawan says

    Lightbox 2 is a great plugin, I really love this. I am using this plugin in my site to create the image gallery. I have one question – Can I have lightbox effect on thumbnail. I appreciate your quick response.

  2. Andre says

    I am running the latest version of WP and recently updated the Lightbox plug-in. Now it does not work anymore.
    Any suggestions ?

    • Ely says

      Same here.
      It worked great, and suddenly stopped working at all.

      See images in cashboard.co.il homepage

      Any idea?

  3. says

    Hi Pankaj,
    It’s good to see that you have developed this awesome plugin and you are maintaining it thoroughly Thank you.
    I just have one complain for this plugin (moreover as a developer), please provide a proper changelog somewhere. In the WP repository, you redirect people to here for changelog, but I cant see any proper changelog (like normally what changelog means).
    Fix this. This is a bad user experience (at least for me).

Leave a Reply

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