WordPress.org

Support

Support » Plugins and Hacks » Simple Lightbox » [Resolved] Lightbox works with some images but not others (same gallery)

[Resolved] Lightbox works with some images but not others (same gallery)

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

    @archetyped

    It appears to be due to the accented characters in the image file names.

    I will take a look at this, but for the short-term if you rename the files so that they don’t contain accents, then SLB should work for all of the images.

    It appears to be it, of course!
    Thank you very much.

    Plugin Author Archetyped

    @archetyped

    I’ve tested SLB with files containing accented characters and could not reproduce your issue. That is, SLB is working fine with files containing accented characters.

    Are you using any additional plugins or code that might affect how a file is uploaded or inserted into posts? It appears that the file names are being encoded in the post, causing a mismatch with their actual file names.

    Example:

    • File: 3D-Día.jpg
    • Name in page source (HTML): 3D-D%C3%ADa.jpg

    Thanks for looking into it.
    The theme I’m using had originally a different lightbox plugin, which I disabled to install SLB.

    This issue could be the result of an interference from another plugin, from the theme or from the code I’ve changed, but I’m afraid I wouldn’t know which one is it.

    In any case, the solution you proposed is brilliant and everything is working fine now 🙂

    Plugin Author Archetyped

    @archetyped

    Good to hear, thanks for the update.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Lightbox works with some images but not others (same gallery)’ is closed to new replies.
Skip to toolbar