I’m using the Lightbox 2.9.2 (Rupert Morris, based on ) on my WordPress blog (designink.nl) and use the auto-lightbox setting (lets the plugin add html to image links). However, i’d like to prevent a specific image on a post to be called by lightbox. Is there a code to break/prevent this on individual instance and not change my automatic-setting?
Leave a Reply
You must be logged in to post a comment.
go into lightbox2.php, and change the following function:
Added – looks for and if it sees it, keeps all links on the page as original 🙂
I haven’t had a chance to try this out, but you could try printing this bit of jQuery in the header of your website:
Essentially you’re going to find the image path of the image you do not want to have light box and then reset it’s rel attribute from lightbox[26] (this seems standard in that plugin to nothing, so it will not initiate a lightbox when clicked.
It would probably be easier and more manageable if you implemented your own lightbox code.