Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Lightbox feature needed WordPress

  • SOLVED

My website is www.joshnaylor.com.au. It has been built with the theme ANAN - http://themeforest.net/item/anan-for-photography-creative-portfolio/174507.

For login details, please contact me.

On certain pages, I want to make each image come up in a lightbox. I know there are plugins for this but I don't have time to sort it out. I know this will be solved in a matter of minutes!

I need to have this done within 48hours. Please contact me direct for specific page info and login details.

Cheers,

Kate

Answers (3)

2011-11-29

Gabriel Reguly answers:

Hi Kate,

Sent PM.

I think it can be done with fancybox for WordPress.

Regards,
Gabriel

-Edit: The site already has Lightbox Plus, so it is only a matter of configuration. Done that.


Gabriel Reguly comments:

Hi Kate,

Sorry, $5 is too little for a that much of pages to be edited.

However, seems fair enough for me to config ligthbox and tell you how to do it yourself.

Please see attached image, where I have edited the configuration.

Now, for each image you want to be in a lightbox you will need to add class="cboxModal" to the link tag.

For instance:


<a href="http://example.com/wp-content/uploads/2011/11/example.jpg" class="cboxModal"><img class="alignnone size-medium wp-image-159" title="example" src="http://example.com/wp-content/uploads/2011/11/example-300x136.jpg" alt="example" width="300" height="136" /></a>


Please let me know if you need further assistance.

Regards,
Gabriel