• Resolved samarart27

    (@samarart27)


    Hi,

    I installed the webp express plugin that generates images on upload or the first time they’re requested and delivers webp images when the browser is OK with it. Without using the CDN, the image source in the code is
    mydomain.example/wp-content/uploads/2019/09/whatever.jpg.webp

    If I invalidate the distribution and enable the CDN, in the same html place, it now says
    cdn.mydomain.example/wp-content/uploads/2019/09/whatever.jpg

    With this I know the CDN plugin is replacing the base hostname URL for the image correctly, but I don’t know why the webp extension of an existing image disappears… Of course, I don’t know on which order the plugins intervene so I really don’t know if it’s an issue with the webp plugin or the CDN plugin or maybe both…

    Sorry for any inconvenience. Best regards…

    Edit: Saw this https://www.ads-software.com/plugins/webp-express/#how%20do%20i%20make%20it%20work%20with%20cdn%3F%20(%E2%80%9Ccdn%20friendly%E2%80%9D%20mode)
    It’s not tested with this CDN plugin. I’ll try to solve it another way or not use it at all…

    • This topic was modified 5 years, 2 months ago by samarart27.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author luckychingi

    (@luckychingi)

    Hello @samarart27

    Based on your message, I can guess that the CDN plugin alters the pages before the webp plugin does.

    since webp plugin does not see the internal links on theimages, it does not serve them.

    I’ll test with webp plugin and let you know.

    Please send me an email from https://wpadmin.ca

    Thread Starter samarart27

    (@samarart27)

    Thanks!!!

    Yes, I saw that later in the FAQ I linked… I’m going to write over there to see if the priority of when to process the images URL can be configurable because the options they offer, 1. Use content filtering hooks (the_content, the_excerpt, etc) and 2. The complete page (using output buffering), are not working for me… and I only get local webp image urls with the second option…

    I’m trying with other option it has of serving varied responses but I’m always getting jpg links and no webp ones…

    Thread Starter samarart27

    (@samarart27)

    Hi,

    Just to update this thread… the webp express plugin got an update yesterday.

    0.16.0
    (released: 24 sep 2019)
    -Added option to specify CDN urls in Alter HTML.

    With this new setting, now the AWS CDN plugin keeps working correctly and I’m serving correctly the webp images.

    Best regards…

    Plugin Author luckychingi

    (@luckychingi)

    Thanks for the update @samarart27

    I checked the WebP update last night with the option to add the CDN URL

    https://cdn.wpadmin.ca/wp-content/uploads/2019/09/Alter-HTML.png

    saveatrain

    (@saveatrain)

    samarart27: why did you decide to go with webp, if jpg compress is sometimes even better
    https://stackoverflow.com/questions/52246067/jpg-vs-compressed-jpg-vs-webp-why-webp-isnt-the-smallest-one

    Thread Starter samarart27

    (@samarart27)

    @saveatrain I read the info and also read some other stuff before trying to deliver the webp format for the compatible visitors… It was just out of curiosity for testing it, and in my case, all the webp images are smaller than there JPG files and I’m happy with the visual result… maybe I could optimize all the original JPG files but I don’t have time for that, pure lazyness

    saveatrain

    (@saveatrain)

    Thanks Samarart
    I use WP-Optimize to automatically compress the images,
    good luck to you

    Thread Starter samarart27

    (@samarart27)

    @saveatrain likewise! I saw many plugins like that one but I’m trying to test other things, just for fun… not interested in great performance, SEO and all that kind of stuff…

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘webp images with plugin’ is closed to new replies.