• Resolved yoshimitsu1234

    (@yoshimitsu1234)


    How do I convert all the images already uploaded on the server, and future images to be uploaded to WebP and serve only WebP images to all the users irrespective of what browser they are using.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author rosell.dk

    (@roselldk)

    To convert all the existing images:
    Click the “Bulk Convert” button in the

    To convert new images automatically:
    Enable “Convert on upload” on the settings page

    Note that the “Convert on upload” option makes the upload experience a bit more slow, especially if you have many thumbnails. Alternatively to using it, you can run a bulk conversion periodically. It only converts unconverted images.

    For more advanced users, you can use WP CLI to run bulk convert and set up a cron task to regularily run it.

    I plan to make WebP Express convert images in the background. However, there are other improvements, I want to do first.

    Thread Starter yoshimitsu1234

    (@yoshimitsu1234)

    Thank you.
    Any way to replace the uploaded jpeg with WebP,replace the jpeg with WebP and use only the WebP version on all posts irrespective of the browser?
    My logic was why to waste storage on the server if almost all browsers now support WebP. So wanted WEbP by default no matter what.

    Plugin Author rosell.dk

    (@roselldk)

    No, unfortunately not.

    I’m afraid I’m not too motivated to create such feature. The main motivation that is driving the development is that I want to do my part in reducing CO2 emissions. Less internet traffic means less CO2. So the next thing I want to do is support avif and the Sava-Data header (serve harder compressed images to browsers that request it).

    If this feature is to happen, I would need funding for it.
    Actually, the feature could be a created as a separate plugin. Someone might already have done that.

    See also:
    https://wordpress.org/support/topic/can-i-replace-existing-images-with-webp-version/

    Plugin Author rosell.dk

    (@roselldk)

    Why is space an issue? Isn’t space very cheap these days?

    Thread Starter yoshimitsu1234

    (@yoshimitsu1234)

    Space is not an issue as such (for time being) but if all the images are going to be served in WebP only to all my users then the original jpeg is just a wastage of storage.

    Plugin Author rosell.dk

    (@roselldk)

    All images are probably not going to be served in WebP only. There are still ~5% using old browsers that doesn’t support webp. I think that most web masters will judge that it is worth serving png/jpeg to those 5%. Optimally, of course, I would like to support registering the converted images in the media manager and removing the original files from media manager. But as I have other priorities and don’t judge that this feature is very needed yet, I don’t expect to be implementing it in the near future. – Sorry

    Thread Starter yoshimitsu1234

    (@yoshimitsu1234)

    Thank you for your genuine, helpful, and prompt responses.
    Great plugin. Keep up the good work.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Convert all images to WebP & serve only WebP images’ is closed to new replies.