Support » Plugin: Simple Lightbox » Some titles not showing

  • Hi, I’m also experiencing titles not showing. I’ve set up a test page on which you will see that for one image the title displays and for another it does not.

    The gallery displaying is generated by the Gutenberg gallery block on a 4.9.8 installation.

    Both images have both a title and a caption set, and when locking at the database entries for posts and postmeta there appear to be no significant difference.

    The only obvious difference is that the image for which the title shows was uploaded yesterday, while the other was uploaded some time ago.

    I’ve created a second test using the classic editor (rather than Gutenberg) to create the gallery and for this both titles work.

    Perhaps this is an issue with the Gutenberg gallery block?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Archetyped

    (@archetyped)

    Hi, a key difference between your examples is that the 2nd image (i.e. “Main building – outside entrance”) link to different images in each example.

    In the Gutenberg example, an intermediate image (images generated by WordPress of an uploaded image at different resolutions/dimensions) is being linked to. Intermediate images do not connect directly to an attachment’s metadata (e.g. caption, description, etc.), so no caption is retrieved for intermediate images.

    However, the original source image is linked in the standard WordPress gallery example, allowing SLB to access its metadata and display it.

    Directly linking to the original source image in the Gutenberg example will allow SLB to access the image’s caption and display it.

Viewing 1 replies (of 1 total)
  • The topic ‘Some titles not showing’ is closed to new replies.