• Resolved tommie46

    (@tommie46)


    I have been using your wonderful plugin for several years but noticed today that my album titles (google albums) are running in a straight line vertically below the thumbnail instead of horizontal. I have tried changing the settings but get the same result. Any idea what I’ve done wrong? Thanks

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

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

    (@sayontan)

    My guess is that there are things in some of your other plugins that are causing this.

    I see 4 things that should not happen:

    1. The photos are getting an additional attribute, data-lazyloaded="1". This is being injected in PHP by a lazy loading plugin, which really shouldn’t be doing this since all of Photonic’s photos have an explicit directive to prevent lazy loading.
    2. The photos are getting an additional class via JavaScript, litespeed-loaded. Again, this is coming from a different plugin.
    3. There is a noscript node inserted after every Photonic photo via PHP – again, this is coming from a different plugin.
    4. Each photo’s caption is getting forced to have an attribute, style="width: 1px;" via JavaScript. This is happening probably via Photonic’s JavaScript.

    While ultimately #4 is the one that is breaking your captions, it is likely that the first 3 are causing Photonic’s JS to set the 1px width. This is because Photonic tries to determine the width of your photo and then assigns the width of the caption. But, if you have a lazy-loading plugin, that is probably replacing Photonic’s photos with a 1px wide placeholder (again, it really shouldn’t since Photonic has a loading="eager" attribute set on it). The 1px placeholder is causing this issue.

    Long story short: you will need to disable your lazy loading plugin, or prevent it from targeting Photonic’s galleries.

    In my web page, with Chrome and Internet Explorer the plugin work great!!

    But with Safari, Firefox and Edge explorers the album titles (google albums) are running in a straight line vertically below the thumbnail instead of horizontal.

    I have disabled Jetpack “Lazy Loading for images” and “a3 Lazy Load” plugin, but the issue persist.

    https://www.santaquiteriahuete.com/multimedia/imagenes/antiguas/

    Plugin Author Sayontan Sinha

    (@sayontan)

    @santaquiteriahuete,
    I don’t have Safari, but I tested this on Firefox and Edge, and I see no issues on your site.

    Yes! I fix this issue!

    I have disabled Jetpack “Lazy Loading for images” and delete the memory cache.

    The photonic plugin work perfectly.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Album Title runs vertical’ is closed to new replies.