I’ve developed a theme for a client that uses a custom product post type. The user can upload three product images on the custom post type entry page, and I’ve coded them into the theme to display in a neat little jquery gallery (this one specifically: http://www.pikachoose.com).
I’ve got your plugin installed on the theme, and it works great for images inserted into posts, but I’d like to also apply it to the custom gallery I created for my custom post type. I coded it so the image links include rel=”lightbox[x]” (where x is the post id), so I believe I have all the right code in place–but the images still open as a new link, rather than in the lightbox.
My initial thought is that it’s because the custom post type info is called after the lightbox script is run, but I’m not sure how to check to see if that’s indeed what’s happening. And if so, how can I call the lightbox script AFTER the post info is loaded?
Thanks for any help you can give!
- The topic ‘Getting lightbox to work on custom gallery’ is closed to new replies.