• Resolved rishabhr19

    (@rishabhr19)


    I was cleaning up the uploads folder. Particularly, I was deleting webp files that were created by any plugins because I was planning to utilize my CDN’s image optimization feature.

    I used this command to get rid of all the webp files.

    find /var/www/theunfolder/_data/htdocs/wp-content/uploads/ -name "*-jpg.webp" -type f -delete

    Later, I realized half of the images on my website were broken because this plugin created webp images and replaced the original uploads with webp files. Is there any way to revert the changes and go back to using jpg files?

    • This topic was modified 9 months, 2 weeks ago by rishabhr19.
    • This topic was modified 9 months, 2 weeks ago by rishabhr19.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    Thanks for reaching out @rishabhr19. Sorry to hear of your missing images. Rather than removing the WebP images, have you tried to deactivate the Performance Lab plugin, so your can revert to using the JPEG versions? If not, please go ahead and try this now and let me know how you get on.

    Let me know if you have any questions with the above.

    Thread Starter rishabhr19

    (@rishabhr19)

    Thanks for the response @jamesosborne. Before deleting the webp images, I deactivated and deleted the plugin.

    Plugin Support James Osborne

    (@jamesosborne)

    Thanks for the update. In that case can you share an example URL without any image, where there was a WebP image placed previously? I can then perform some additional checks.

    Note also that the plugin doesn’t replace any existing JPEG images, so what you are experiencing isn’t related to any JPEG images being replaced by the plugin generated WebP images. I may need, however, to perform some checks based on the command you ran on your site.

    wpdynamics

    (@wpdynamics)

    @rishabhr19 As far I remember the original unresized image is still JPG. After deleting *.webp and deactive the plugin use wp-cli to regenerate the images sizes.

    wp media regenerate --yes
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Huge blunder with automatically created webp files’ is closed to new replies.