• Resolved Amar Ilindra

    (@amarilindra)


    We started using BunnyCDN image optimizer which automatically resizes the images and delivers the .webp images on the fly.

    So we had to delete the ShortPixel Image Optimizer. I couldn’t find an option to delete all .webp files created by this plugin.

    Thank you

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

    (@sixaxis)

    Hi Amar,

    Unfortunately, for now it is not possible to delete the .webp images from the plugin itself. You will have to use a file manager or an FTP client to do that.

    We are working on a feature that will include this, but we don’t have any ETA.

    Best,

    Hi Gerard, the reason for me to use ShortPixel was to reduce file sizes and save disk space. The .webp images created by ShortPixel double the used space.

    Can you please check if there is any ETA for a feature to delete them?

    Thanks

    Plugin Support Gerard Blanco

    (@sixaxis)

    Hi audat!

    I’m sorry, but like I said, there is no ETA for the feature yet 🙁

    If there are any news, we’ll let you know.

    Have a nice Sunday!

    Thread Starter Amar Ilindra

    (@amarilindra)

    @audat I have managed to delete all .webp images using SSH.

    If you have access to SSH, navigate to /wp-content/uploads and run the following command first

    find . -name "*.webp" -type f

    It will return all files with webp extension in your uploads folder including sub-directories. If the results look good, finally run this command to actually delete the files.

    find . -name "*.webp" -type f -delete

    An alternative way is FTP. If you have only a few hundred web images, you can delete them manually using an FTP client like Filezilla.

    Note: Don’t ever think of using FTP if you have thousands of images. FTP is too slow and takes hours/days to delete all images. Whereas SSH literally takes few seconds to do the same.

    • This reply was modified 2 years, 6 months ago by Amar Ilindra.

    Hi @amarilindra , thanks, sshing is a very good idea. That worked well!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Delete all .webp images from Uploads directory’ is closed to new replies.