WordPress.org

Ready to get started?Download WordPress

Forums

jQuery Colorbox
One image being given img class="colorbox-manual" (4 posts)

  1. andyhiggs
    Member
    Posted 4 years ago #

    I use NextGEN gallery with the jQuery Colorbox plugin on a blog I'm setting up for our company. One of my galleries has 17 images and all 17 thumbnails show up, but one of the images is not being associated with that gallery through Colorbox. I can click on any of the other 16 images and it says 1 of 16 images, 2 of 16 images, etc. If I cycle through them all it will bypass that one image. If I click on that one image Colorbox displays it, but there's no description of it being "# of # images". Inspecting it in Firebug I can see it is being given the img class of "colorbox-manual" whereas all the other images in that gallery have the page ID for that gallery, 303 (colorbox-303). I have 21 total galleries and this is the only one I'm having a problem with. I've tried deleting that image from the gallery and adding it back in, I've tried renaming it, I've completely deleted the gallery and recreated it, I've deleted Colorbox and reinstalled it. Nothing seems to get it to be associated with that gallery by Colorbox. When I removed Colorbox and used the effects that come with NextGEN it would show as one of the 17 images so it seems the problem is something with Colorbox.

    I'm about to give up trying to get this picture to work with this gallery. Anybody know what could be causing this? I thought it would be something in the database somewhere, but I couldn't find anything. Any ideas? Thanks.

    http://wordpress.org/extend/plugins/jquery-colorbox/

  2. techotronic
    Member
    Plugin Author

    Posted 4 years ago #

    Hi,
    sorry for taking so long with my answer.

    Do you have a link to the page with the picture?

    Is your picture by any chance not of the following types:

    jpg,jpeg,gif,png,bmp?

    Cheers,
    Arne

  3. andyhiggs
    Member
    Posted 4 years ago #

    Here's the link to the gallery, http://blog.hmnarchitects.com/portfolio/healthcare/the-childrens-mercy-hospital-clinics/. The first picture in the second row is the one that is giving me problems.

  4. techotronic
    Member
    Plugin Author

    Posted 3 years ago #

    Hi,

    I am sorry, but I have no idea why the class is not added to that one image.
    The jquery-colorbox-plugin does not seem to be able to add the class to the image during the rendering of the website, the class "colorbox-manual" is added later by JavaScript.

    I have never seen this kind of behaviour, but I suspect it having something to do with the way that nextgen is adding the picture to the page.

    Cheers,
    Arne

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic