Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Archetyped

    (@archetyped)

    Hi,

    The main issue appears to be that the page’s HTML is invalid, which is likely causing the browser to incorrectly parse the content.

    See here: Validation Results

    Once the HTML is valid, the browser should be able to properly parse the content which will allow SLB to retrieve the image titles.

    Despite the invalid HTML, SLB will display a default title for the image in the lightbox, but you need to enable the “Enable default title” option in SLB’s settings.

    Thread Starter tosca30

    (@tosca30)

    Thanks for the hint.

    I’ve made the corrections so the page is now valid, but that doesn’t change anything for the SLB legends.
    I get the title since I enable the “Enable default title” option, but I still would like to display the legend.

    Something else comes to mind?

    Plugin Author Archetyped

    (@archetyped)

    Are you using any plugins/themes that modify a gallery’s output? The gallery HTML at the link you provided is missing the wp-caption class added by default to all captions in the gallery. SLB uses such default classes to detect various properties.

    Also, it appears that the images without captions are not being recognized as valid attachments by SLB. You may want to take a look at those items in your media library to see if anything is amiss.

    Thread Starter tosca30

    (@tosca30)

    I use the File Gallery plugin, but it works fine with SLB on several other pages. See the “Photos” tab on this page http://www.marie-noelle-augendre.com/sujet/expositions/exposition-aigoual-aubrac/ for example.
    And on the “cartes postales” page it has also been OK till the last adjunction I made a couple of days ago; and it’s only the last 5 uploaded pictures that are displayed wrong.
    I tried to delete/re-upload one of them, but still got the same result.

    What makes you say that these “images are note recognized as valid attachments”? I’ve checked every information, but they seem completely similar to the others. And I don’t see any difference in the generated HTLM either.

    Thanks for helping.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Legends not displayed on several pictures’ is closed to new replies.