• Resolved Hic

    (@hic)


    Hi,

    Images stopped being displayed in the homepage and categories, I’m thinking a compatibility issue with slider revolution maybe?

    I have no idea.

    Please advise, thank you!

    EDIT: I bulk removed a lot of images so the website can work again, but you can see the issue I’m talking about in older images (old section link below)

    • This topic was modified 1 year, 7 months ago by Hic.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Anton Vanyukov

    (@vanyukov)

    Hi @hic,

    Looks like the images are not found on Cloudflare. Could you please login to your Cloudflare account, go into Images and see if you have the images present? Also, please post a link to one of the working images on Cloudflare.

    Best regards,
    Anton

    Thread Starter Hic

    (@hic)

    Hi,

    I just edited the post moments before you replied, not sure if you saw that?

    I had to bulk remove couple hundred images so the homepage works again and recent images ..

    Issue can be seen here

    https://www.dailytidings.com/section/entertainment/celebrity/

    And yes looks like everything is working on cloudflare, the number of offloaded images I see in the plugin dashboard is the same in the images section in cloudflare ..

    I’m not sure about what you asked, the images work, just not in the feeds in wordpress, for example they work in the posts themselves.

    So if you go here

    https://www.dailytidings.com/section/entertainment/celebrity/

    Click on any of the posts, the post thumbnail will be displayed and its served with a cloudflare URL

    Thanks

    Plugin Author Anton Vanyukov

    (@vanyukov)

    It looks like the theme is cutting out the required image parameters, which prevents the image from loading correctly. I’ve seen this on a few plugins/themes before. I don’t understand why developers are using this approach to image detection :facepalm:

    Is this Newspaper theme? I should be able to fix quickly, if I can replicate locally.

    Best regards,
    Anton

    Thread Starter Hic

    (@hic)

    Hi,

    No it’s Publisher theme by Betterstudio.

    I can pass you admin logins if I can somehow?

    Plugin Author Anton Vanyukov

    (@vanyukov)

    No need for access, I can only properly debug on a local site. If it’s a paid theme, it could really help if you can send me a copy via the contact form here: https://vcore.au/contact-us/

    Best regards,
    Anton

    Thread Starter Hic

    (@hic)

    Will do, thank you!

    Plugin Author Anton Vanyukov

    (@vanyukov)

    Hi @hic,

    I’ve debug the issue. Unfortunately, there’s no way to fix this, because of how the theme handles lazy loading. The issue is in the publisher_generate_bs_srcset() function, which generates an object that is later on consumed by JavaScript. The above function strips out the required Cloudflare image attributes, without which there’s no way to load an image. There’s also no filters in the theme that will allow me to hook into and adjust the URLs. The only way to fix this is to disable the JS-based lazy-loading in Publisher – Theme Options – Performance – Lazy loading.

    Sorry. You can point the developers of the theme to this thread, maybe they can recommend something or add some sort of integration. Or at least some filters that can be reused by other plugins/themes.

    Best regards,
    Anton

    Thread Starter Hic

    (@hic)

    I cannot thank you enough for taking a look, I’ll buy you a coffee instead of checking the pro version which seems to be about AI which I don’t use (Maybe add features list when you click on pro version in the plugin dashboard, for now it only has a login form, maybe that’s not great for conversion, just a thought!).

    I will pass along your findings to the theme developer! For now I’ll just deactivate lazy loading on the theme and use the cache plugin lazey load feature.

    Thank you again!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Slider problem maybe?’ is closed to new replies.