• Resolved David Adams

    (@tictag)


    As you will know, WordPress began supporting WebP images in the Media Library from v5.8, this support extends to the ‘thumbnail variants’ configured too i.e. if you upload a WebP image, WordPress will automatically create 1024px, 300px and 150px [default] variants in the WebP format.

    So, does your plugin create the WebP format of the uploaded image prior to or after WordPress creates its thumbnail variants?

    – If before, then please confirm that WordPress automatically creates WebP thumbnail variants.
    – If after, do we end up with just one WebP file, with the automatic thumbnail variants all in the original image format e.g. .jpg?

    Also, if after, are there any plans for Image Optimizer to convert to WebP before the automatic thumbnail variant routine runs?

    David.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Gerard Blanco

    (@sixaxis)

    Hi David,

    I’ll answer your questions by explaining how our plugin works.

    • If you upload a regular JPG/PNG/GIF, ShortPixel will create the WebP files after you run the optimization. In other words, WebP requires the image to be optimized.
    • If you upload a WebP file, ShortPixel will ignore it and will not do anything to it.

    I hope that helps!

    Best,

    Thread Starter David Adams

    (@tictag)

    Please answer the question. If you would like me to rephrase it or provide further information, please let me know.

    David.

    Plugin Support Gerard Blanco

    (@sixaxis)

    Hi David,

    If I answered your questions literally, you would draw incorrect conclusions, so that’s why I tried to explain you how our plugin works.

    1. You upload a JPG
    2. WordPress creates the thumbnails
    3. ShortPixel optimizes the image + thumbnails
    4. During the optimization, the .webp files will be created, one for each image/thumbnail

    If you upload a .webp, ShortPixel will simply ignore it. ShortPixel does not optimize WebP files.

    In any case, here’s the answers.

    So, does your plugin create the WebP format of the uploaded image prior to or after WordPress creates its thumbnail variants?

    After.

    – If after, do we end up with just one WebP file, with the automatic thumbnail variants all in the original image format e.g. .jpg?

    No, you don’t.

    Also, if after, are there any plans for Image Optimizer to convert to WebP before the automatic thumbnail variant routine runs?

    No, there aren’t.

    I hope that helps!

    Best,

    Thread Starter David Adams

    (@tictag)

    @sixaxis,

    Thank you. I am looking for a plugin that better integrates with native features.

    Please feel free to close the ticket.

    David.

    Plugin Support Gerard Blanco

    (@sixaxis)

    You are welcome, David.

    Have a good one.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WebP Creation Before Or After WordPress Thumbnails?’ is closed to new replies.