• Resolved floodrod

    (@floodrod)


    Hello!

    I am using a CDN and have JS WebP Rewriting enabled. Site images seem to work fine. But I have several html widgets that have images in them. I do not know the html to put in the widget to show WebP images.

    Would you be so kind to post example html code which would show WebP image / Jpeg depending on browser with JS rewriting method?

    <p><a href="https://yahoo.com">
    <img border="0" src="https://yahoo.com/image1.jpg" width="501" height="281"></a></p>

    Thank You

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    Could you please clarify what these HTML widgets are? Normally, anything within your page is covered by JS WebP, especially since the example you gave is a standard img element.
    Or is it that these widgets have third-party images in them?

    Thread Starter floodrod

    (@floodrod)

    Thank You..

    I uploaded with Wordprress Media uploader, and changed image addresses. now all are in WebP..

    good to go!

    Plugin Author nosilver4u

    (@nosilver4u)

    Unless you don’t care about supporting all the non-WebP browsers, that’s not exactly what I meant…

    Perhaps you could provide an actual link to the page you’re having trouble with, along with which images are giving you a hard time?

    • This reply was modified 3 years, 4 months ago by nosilver4u.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HTML Widget Using JS’ is closed to new replies.