[Resolved] using an img alternate for webp

Home Forums Support [Resolved] using an img alternate for webp

Home Forums Support using an img alternate for webp

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1601343
    Anthony

    I have enabled webp uploads and thumbnail view in my media library. and i would like to put webp images on my site. the problem i am facing is that i cant find documentation for creating and alternate img for my images without hardcoding <picture></picture> so this would be difficult to edit the main page img using the exsiting coding in generate blocks. is there a simple way to do this or would i need to rewrite the entire hmtl for that block with the webp img?

    mrslothconsulting.com is the website

    #1601495
    David
    Staff
    Customer Support

    Hi there,

    i wouldn’t recommend doing this manually as it means you would have to write a lot of HTML for each and every image you add. There are plugins like these that automatically do this for you:

    https://en-gb.wordpress.org/plugins/webp-express/
    https://wordpress.org/plugins/webp-converter-for-media/

    I have seen users running webP Express – the other plugin i have not seen on a live site…

    #1601712
    Anthony

    Thanks I will have a look!

    #1601752
    David
    Staff
    Customer Support

    You’re welcome

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