Lightbox Plus Colorbox
Image title as overlay caption (9 posts)

  1. Bryan Hoffman
    Posted 2 years ago #

    I'm not sure which WP update changed this (most likely 3.6) but the image title is no longer being used for the overlay image caption when using LPCB for WP Galleries.

    Looking at the source, each image link title is being returned as the title of the post.

    ~ Bryan


  2. Bryan Hoffman
    Posted 2 years ago #

    For reference, here's a screenshot of what I mean...


    The link title should be the same as the alt title on the image... "Bees Game" is the title of the post.

  3. KennyLL
    Posted 2 years ago #

    Also want to watch this issue. I noticed it in 3.7.1, may have been OK in 3.6. Displays post title for every image, definitely not as elegant.

    Can use captions, but then they show up under thumbs on page - also not elegant.

  4. photoMaldives
    Posted 2 years ago #

    A-ha ! I've got this problem too - I thought I'd made an error somewhere, as it certainly used to work OK.

    I have the correct Caption/Alt-text/Description filled in on the media page, but the lightbox now pulls in the post title.

    Example - using a WP gallery - the name of the POST shows at the top of each photo (and doesn't change for each of the 6 images) -
    [gallery link="file" columns="6" ids="5845,5846,5847,5852,5853,5854"]

    Interestingly, using the NextGEN gallery - the name of each IMAGE is displayed correctly -
    [nggallery id=33]
    (however this is not a good workaround as the NextGEN lightbox also appears underneath!)

    Anyone else with a fix/workaround ?

  5. @photoMaldives Per the forum welcome please post your own topic.


  6. photoMaldives
    Posted 2 years ago #

    OK - sorry, Jan - I'm confident it's the same issue, and thought I was adding to the discussion. However I've started a new thread anyway -


    (even though it's not showing up ? Are all posts held in a mod queue nowadays ? If so, apols again - I just posted twice !)

  7. lynnema
    Posted 2 years ago #

    Hi all -

    I think I found a solution - here is my post on the same topic...


    Seems to be working for me. Hope this helps!

  8. photoMaldives
    Posted 2 years ago #

    Thanks for the headsup, lynn/jess :-)

  9. KennyLL
    Posted 2 years ago #

    I can also verify that the second solution (smaller one) in the final link does work here. It picks up the title of an image if there is one, or reverts to the Post title if the image title is left blank. The alt text shows up on the thumbnail, but is stripped out on the lightbox pop-up image.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.