• Resolved samoreen

    (@samoreen)


    Hi,

    We are using the mwl_img_title filter to modify the Lightbox image caption in order to make it a link to data related to the image. Now it seems that the HTML tags are no longer interpreted and are displayed “as is”. This occurs with all galleries, included galleries built before the latest Meow Lightbox updates.

Viewing 15 replies - 1 through 15 (of 29 total)
  • Thread Starter samoreen

    (@samoreen)

    Correction : I meant Title, not Caption.

    Go to this page and click on any image in the gallery :

    https://capcgaleries.org/mg-galerie/cdf2022-couleur-papier/

    We never had any problem with this before.

    Thread Starter samoreen

    (@samoreen)

    FYI.

    We checked the problem on a system where the browser cache had not been updated since the Meow Lightbox update. The photo title was displayed correctly. After using F5 on the test gallery, the problem appeared like in any other browser and system. Which since seems to confirm that the problem appeared with the plugin update.

    https://www.dropbox.com/s/3nomu5wmgcwc3ks/Lightbox%20bug.jpg?dl=0

    • This reply was modified 1 year, 8 months ago by samoreen.
    Thread Starter samoreen

    (@samoreen)

    >> Go to this page and click on any image in the gallery >>https://capcgaleries.org/mg-galerie/cdf2022-couleur-papier/

    Since we can’t live with that bug, I have temporarily disabled the mwl_img_title filter on this site and I will probably go back to the previous version of Meow Lightbox. The image provided in my previous message is explicit enough, though.

    Patrick

    Thread Starter samoreen

    (@samoreen)

    Everything OK after going back to version 3.2.2.

    Thread Starter samoreen

    (@samoreen)

    According to the version 4.0.3 update details, the fix didn’t seem to make it into this new version. I didn’t test by re-installing again, though.

    Plugin Author Jordy Meow

    (@tigroumeow)

    It will be in next release ?? It’s coming soon, today or tomorrow.

    Thread Starter samoreen

    (@samoreen)

    Apparently, version 4.0.4 doesn’t fix the problem for image title. Further testing in progress…

    Thread Starter samoreen

    (@samoreen)

    Thread Starter samoreen

    (@samoreen)

    The problem is marked as resolved with version 4.0.4 although it is not, as the above uploaded screen capture demonstrates.

    Patrick

    Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    It does in my case (and for a few more users who had the same issue). And the code reflects that ??

    I can share a screenshot but you know what I will show you, links, bold texts, etc.

    Are you sure that the old lightbox is not in your cache? Please share a link to your website.

    Thread Starter samoreen

    (@samoreen)

    Hi Jordy,

    After reading your message this morning, I went to our site where everything was working well using Meow Lightbox version 3. Then I installed version 4.0.4, cleared the Meow Lightbox cache, the browser cache and the server cache (we are hosted by WPServeur). Immediately, the problem was back.

    Just go to this gallery CdF2022 Couleur Papier – Club CAPC (capcgaleries.org) and click on any thumbnail in the gallery. You’ll see the problem. Actually, you can go to any gallery on the site, the problem appears everywhere. You can visit many galleries while not being logged in (I tested in logged in and not logged in mode).

    I will leave Meow Lightbox version 4 running during 24h but then I’ll have to return to version 3.

    Thanks.

    Plugin Author Jordy Meow

    (@tigroumeow)

    I am not sure why I received a message from you, in my emails it looks different from what I have here.

    But if this your website: https://capcgaleries.org/mg-galerie/cdf2022-couleur-papier/

    This is not the Meow Lightbox ??

    Thread Starter samoreen

    (@samoreen)

    I am not sure why I received a message from you, in my emails it looks different from what I have here.

    This is because I left the photo club for which I developed the site. But I’m still helping them when problems appear. Hence the different email address.

    This is not the Meow Lightbox ??

    I don’t understand. I’m using the Meow Lightbox mwl_img_title filter to format the image title. So the Meow Lightbox is active in both cases. When using version 3 the HTML code is interpreted and when using version 4 it is not. Nothing has changed in the code. If you want I can send you the code if you want to check.

    Moreover, if I comment out the Meow Lightbox filter (mwl_img_title) in functions.php and clear all caches, everything is back to normal because the default title formatting of Meow Lightbox is used (butof course, I don’t get my custom title). If I re-enable the filter the problem re-appears. Which demonstrates that Meow Lightbox is active : how could the mwl_img_title filter be used otherwise ?

    • This reply was modified 1 year, 7 months ago by samoreen.
    Thread Starter samoreen

    (@samoreen)

    I should add that if I switch the theme option from Dark to Light in the Meow Lightbox settings, the new theme is taken into account and reflected when the image is zoomed (after clearing the caches). So, the Meow LB is at work, no doubt.

    Thread Starter samoreen

    (@samoreen)

    The code of the mwl_img_title filter is available here. https://www.dropbox.com/s/99fbxrk33n01lhc/mwl_img_title_filter.php?dl=0

    Please disregard the $GLOBALS[‘showauthor’] variable, which is set elsewhere in functions.php.

    This code works with both versions 3 and 4. Just, the HTML is not interpreted in version 4.

Viewing 15 replies - 1 through 15 (of 29 total)
  • The topic ‘HTML in caption no longer interpreted’ is closed to new replies.