[Support request] Webp Express and Generate Press not working

Home Forums Support [Support request] Webp Express and Generate Press not working

Home Forums Support Webp Express and Generate Press not working

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2349892
    Paul

    I moved over to Generate press and added Webp Express to make sure images were being converted and also the HTML was being changes to <picture>.

    On sites where I am not using GeneratePress (currently migrating them over) Webp Express works fine. However, not on the Generate Press sites. All sites are on the same server with the same setup, only difference is the theme.

    Any ideas?

    #2349945
    Ying
    Staff
    Customer Support

    Hi there,

    Can you explain a bit more about how it doesn’t work on GP?

    Any examples?

    Let me know!

    #2349961
    Paul

    Sure

    So in GP an image appears as this in HTML…

    <img width="350" height="197" src="https://www.domain.com/wp-content/uploads/2022/09/image-350x197.jpg" alt="blah" />

    In the other theme it appears as:

    <picture><source srcset=”https://www.domain.com/wp-content/webp-express/webp-images/doc-root/wp-content/uploads/2022/09/image-480×360.jpg.webp&#8221; type=”image/webp”>blah</picture>

    Same settings, different theme.

    #2350141
    Fernando
    Customer Support

    Hi Paul,

    GeneratePress shouldn’t hinder a plugin for image optimization to work. There’s no code in GP that should cause this. Can you try using a Theme like WordPress theme – TwentySeventeen? Can you also reach out to the support of this plugin and see if they have an insight regarding this?

    #2350487
    Paul

    Can confirm it only seems to be GP that’s this is happening on. I have already posted a query in the support for Webp Express but had no response so I have just changed webp plugins and it’s working now.

    #2351136
    Fernando
    Customer Support

    I see. Glad it’s working now with a different plugin.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.