Title: Error Processing File
Last modified: March 24, 2018

---

# Error Processing File

 *  Resolved [thepanickedfoodie](https://wordpress.org/support/users/thepanickedfoodie/)
 * (@thepanickedfoodie)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/error-processing-file-2/)
 * Hi,
 * I just downloaded the ShortPixel plugin to compress the images across my site,
   and I got this error message for some of the photos:
 * Error processing file: There was an error and your request was not processed.(
   Invalid image or unsupported image format.)
 * This seems strange to me, because the photos are in the same format as the other
   images that were processed. How do I fix this error so that I can finish compression?
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-processing-file-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [ShortPixel](https://wordpress.org/support/users/shortpixel/)
 * (@shortpixel)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/error-processing-file-2/#post-10112374)
 * Hi,
    I investigated our logs and I could find only 5 files that ShortPixel couldn’t
   optimize. Each of these 5 images seem to be broken as you can see yourself: [https://thepanickedfoodie.com/wp-content/uploads/2018/01/chocolatechipcookies.jpg](https://thepanickedfoodie.com/wp-content/uploads/2018/01/chocolatechipcookies.jpg)
   [https://thepanickedfoodie.com/wp-content/uploads/2017/09/scrambled-eggs-with-sautc3a9ed-sweet-potato-bell-pepper-onions-and-cheese.jpg](https://thepanickedfoodie.com/wp-content/uploads/2017/09/scrambled-eggs-with-sautc3a9ed-sweet-potato-bell-pepper-onions-and-cheese.jpg)
   [https://thepanickedfoodie.com/wp-content/uploads/2018/03/Broccoli-Black-Bean-and-Cheesy-Wild-Rice-Casserole-4032×3024.jpg](https://thepanickedfoodie.com/wp-content/uploads/2018/03/Broccoli-Black-Bean-and-Cheesy-Wild-Rice-Casserole-4032×3024.jpg)
   [https://thepanickedfoodie.com/wp-content/uploads/2018/03/Roasted-Red-Potatoes.jpg](https://thepanickedfoodie.com/wp-content/uploads/2018/03/Roasted-Red-Potatoes.jpg)
   [https://thepanickedfoodie.com/wp-content/uploads/2017/10/butterchicken.jpg](https://thepanickedfoodie.com/wp-content/uploads/2017/10/butterchicken.jpg)
 * My suggestion is to use a plugin like [this one](https://wordpress.org/plugins/enable-media-replace)
   to replace the broken images with new, good ones.
 * Once you did replace the images try again to optimize them, it should work fine.
 * Regards,
    Alex

Viewing 1 replies (of 1 total)

The topic ‘Error Processing File’ is closed to new replies.

 * ![](https://ps.w.org/shortpixel-image-optimiser/assets/icon-256x256.gif?rev=3245715)
 * [ShortPixel Image Optimizer - Optimize Images, Convert WebP & AVIF](https://wordpress.org/plugins/shortpixel-image-optimiser/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortpixel-image-optimiser/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortpixel-image-optimiser/)
 * [Active Topics](https://wordpress.org/support/plugin/shortpixel-image-optimiser/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortpixel-image-optimiser/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortpixel-image-optimiser/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [ShortPixel](https://wordpress.org/support/users/shortpixel/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/error-processing-file-2/#post-10112374)
 * Status: resolved