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

    (@dfactory)

    Nice portraits, congratulations ??

    When in comes to the issue. I see that your images have alt attribute only. There should be image title or link title set to make use of it in display.

    For the the “Swipebox” script this problem is already solved – it will use the alt attribute if there is no other title available.

    So if you change to “Swipebox” it should do as well.

    Thread Starter Zaphi

    (@zaphi)

    Thanks! ??

    I use “Title” and “Alt text”. Still does not show. If I use Caption it just comes up under the thumbnail in the gallery, not when showin the image.

    I have:

    Title (I use this!) – Is this the “image title” ?
    Caption (empty)
    Alt text (I use this!)
    Description (empty)

    Then I have Gallery Link URL etc. I can’t find any option for “link title” or “Image title”.

    Am I doing it wrong or is there some other problem?

    That’s why I suggested using ANOTHER lightbox script in the Plugin. You can change to “Swipebox” and this will use the “alt” attribute if available.

    Example:

    https://arnowelzel.de/wp/en/paris-2012

    This uses Responsive Lightbox with “Swipebox” script and “Cleaner Gallery” (https://www.ads-software.com/plugins/cleaner-gallery/) for the gallery output.

    But the “Swipebox” also works fine for single images without description but a title in the “alt” attribute, see:

    https://arnowelzel.de/wp/en/raspi-dish

    Thread Starter Zaphi

    (@zaphi)

    Oh ok! Well, I am not sure how to change that script. I do not know much about editing and customizing WordPress and it’s plugins. Where do I get this script and how do I change it?

    Anyway, Responsive Lightbox worked fine before, but hasn’t for a few months now. I have made no changes to what I did before and titles to the older photos in the blogg don’t work either.

    @dfactory: My images DO have an image title set. At least in WordPress gallery admin…

    To change the script being used, just go to the general settings for Responsive Lightbox in your WordPress backend (Settings – Responsive Lightbox) and select “Swipebox” in the first option “Lightbox script” (see the screenshot at https://arnowelzel.de/samples/responsive-lightbox-options.png).

    I did not check this thoroughly yet – but as far I know the other scripts “prettyPhoto”, “FancyBox”, “Nivo Lightbox” and “Image Lightbox” may need a separate caption or description element, so a “title” or “alt” attribute in the image element may not be enough.

    Further to this I can confirm that prettyPhoto will use the caption text for both the caption and title, even if you have something different in the title field. It uses the Alt Text field for the title. Haven’t tried the other scripts.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Titles not showing’ is closed to new replies.