Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author dFactory

    (@dfactory)

    Yes, the first image link points to the post you’re in not the image:

    <a href="https://1715.orgspringu.org/december-2014-treasure-month/" rel="lightbox">

    It’s set to open a page, not an image.

    Thread Starter OrgSpring

    (@orgspring)

    Dude, i’m an idiot. sorry. i had the image named closely to the page and didn’t realize the image wasn’t loading. I’ll check this and make sureit’s all good. Thanks.

    Thread Starter OrgSpring

    (@orgspring)

    Okay,

    I got the image to load correctly pointing to the URL and not the permalink for the post. It’s being hooked into the post above the content with code in the functions file.

    That allows the image to load correctly in the lightbox.
    However, that image being used as the feaured image loads in its own lightbox with no other images – it’s not being put into the gallery lightbox that is being generated automatically with the other images in that post.

    That means the featured image on top of post loads in its own lightbox and all the other images on the post load in a different lightbox.

    It appears that every image in the post is getting a lightbox-galler[XXXXX] added to the image code. It appears the XXXX, or gallery ID I assume, is being generated dynamically, but not by any means I can discern.

    Is there a way to figure out what that gallery id will be programmatically and add that to my code, or is there a way to get my code to insert that featured image into the gallery of each post/page?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘First image loading not working in lightbox’ is closed to new replies.