• lucyediblecaketoppers

    (@lucyediblecaketoppers)


    Hi there so I have set it up and pressed saved and noticed there’s a folder with some of my images from my uploads folder converted…but not many i’m assuming it’s still working?

    How do I know when its complete and then do I just copy those files/images into my uploads folder and they will overwrite automatically?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Will Stocks

    (@willstockstech)

    I was just about to ask the same thing. I can’t quite work out from the description if this is “simply” (although I’m sure not “simple”) rewriting URLs or is converting, storing and <picture><source>‘ing with webp and fallback to jpeg/png?

    @roselldk are you able to advise exactly what this is doing?

    I use S3/Cloudfront to store my images (via: WP Offload (https://www.ads-software.com/plugins/amazon-s3-and-cloudfront/)) and I can’t quite work out whether this plugin will create a .webp version of each responsive image size to serve, or whether it’s doing conversion on-the-fly?

    Plugin Author rosell.dk

    (@roselldk)

    There are two modes. In “Standard” mode unconverted images are redirected internally to the converter, which converts the image and serves it as webp. The generated webp is stored. The next time the jpg/png is requested, it will be redirected directly to the webp – a .htaccess rewite rule takes care of redirecting to existing (for browsers that supports webp).
    In the other mode, jpg/pngs are not redirected to webp. In that mode you must currently use another plugin for altering Html. However, in the next release, WebP express will be able to alter Html. It will support both picture tag syntax and replacing the image urls directly (for browsers that supports webp). I expect to release it in the middle of next week week. The next release will also have a feature for automatically converting a webp when the webp is requested but missing.
    There is no need to copy images or to know when all images has been converted. Each image will be converted the first time it is requested by a webp-enabled browser. I have bulk conversion on the roadmap, but as it isn’t really needed, it is further down the road

    Will Stocks

    (@willstockstech)

    Thanks for the clarification @roselldk ??

    Unfortunately for me, it doesn’t seem to be working ?? Even when I request the jpg/png the first time, a webp variant never seems to be generated or saved on later requests. I’ve checked both my local server and my CDN (https://github.com/rosell-dk/webp-express/issues/161) but I don’t find a webp version of the image anywhere.

    I will continue to fiddle/play to see what I can come up with in the meantime

    Thread Starter lucyediblecaketoppers

    (@lucyediblecaketoppers)

    Thank you very much now I understand ??

    Results 1
    Results 2

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How does this work?’ is closed to new replies.