• I added all options to display captions, description, alt tags, title,etc in the lightbox but the text is completely missing from the DOM.. using php 7.4 and WordPress Multisite. Are the captions working on Multisite. I saw this thread but it looks like the issue was fixed?

    I disabled caching, check debug log (nothing there) and did pretty much everything that was suggested but I am still not able to get the captions to show. I also tried switching between versions 5 and 4, still the same…

Viewing 1 replies (of 1 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    Captions either have to be present in the HTML output itself (ALT tag or figcaption) or the plugin needs to be able to read them from the database.

    If you do not add ALT or figcaption you need to make sure, that the images are recognized as “local” images coming from the website. This is not the case if you are using a CDN without configuring it in the plugin setttings or a separate media host which has a different base domain.

    Technically: based on the URL of the image Lightbox with PhotoSwipe determines if the image is part of the website – which means, it is served from the same domain and the URL refers to the media folder of WordPress. Only if this is the case, it will then try to determine the attachement ID in the WordPress media library and read the captions from there. By configuring a CDN in the plugin settings you may help this process if you host images on a CDN but which are originating from your website and the CDN is only used to serve them.

    Edit: and yes, captions work on multisite – see my own website for reference: https://arnowelzel.de/pc-mit-amd-ryzen-7 – this is a multisite setup with one site for each language connected with multisite language switcher.

    • This reply was modified 1 year, 3 months ago by Arno Welzel.
Viewing 1 replies (of 1 total)
  • The topic ‘Captions refusing to show at all on Multisite’ is closed to new replies.