Title: HTTP error
Last modified: August 22, 2016

---

# HTTP error

 *  Resolved [sepruda](https://wordpress.org/support/users/sepruda/)
 * (@sepruda)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/http-error-47/)
 * I’ve just installed this plugin, and tried to upload a big image, which should
   be resized. When uploading, I get a HTTP error message, even when I disable resizing.
   Once the plugin was disabled, I could upload as normal.
 * [https://wordpress.org/plugins/resize-image-after-upload/](https://wordpress.org/plugins/resize-image-after-upload/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [jepsonrae](https://wordpress.org/support/users/jepsonrae/)
 * (@jepsonrae)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/http-error-47/#post-5376227)
 * What did the error message say?
 *  Thread Starter [sepruda](https://wordpress.org/support/users/sepruda/)
 * (@sepruda)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/http-error-47/#post-5376234)
 * HTTP error
 *  [jepsonrae](https://wordpress.org/support/users/jepsonrae/)
 * (@jepsonrae)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/http-error-47/#post-5376237)
 * Was there a number provided, e.g. 301, 302, 404, 500, etc? There are numerous
   http errors and can be caused by numberous issues.
 * Were there any issues reported by PHP or with a message such as “memory exhausted
   when trying to allocate…”.
 * Without specifics, it’s incredibly hard to impossible to diagnose the problem
   and fix it.
 *  Thread Starter [sepruda](https://wordpress.org/support/users/sepruda/)
 * (@sepruda)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/http-error-47/#post-5376238)
 * Sorry, it was 404.
 *  [jepsonrae](https://wordpress.org/support/users/jepsonrae/)
 * (@jepsonrae)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/http-error-47/#post-5376239)
 * Hmm… that’s really weird. The plugin doesn’t add any web pages to the upload 
   process, it just injects a function into upload mechanism, so as far as I’m aware
   there shouldn’t be a 404 error cropping up. If you were getting a 404 error which
   is quite a serious one, then everyone should get a 404 error (including myself
   as I use the plugin on around 10 websites).
 * Would it be possible for you to attempt to redownload and re-install the plugin?
   i.e. make sure you completely delete it before reinstalling it – it’ll just be
   as simple as deleting the plugin folder, it won’t break anything. Perhaps you
   are missing a plugin file for some reason so reinstalling it will put it back.
 * Thanks
    Phil
 *  Thread Starter [sepruda](https://wordpress.org/support/users/sepruda/)
 * (@sepruda)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/http-error-47/#post-5376240)
 * I just deleted the plugin and did a new install, activated the plugin and the
   resizing option. When uploading a big image, I get the HTTP error again – although
   no number, so maybe I remembered it wrong.
 *  [IJMacD](https://wordpress.org/support/users/ijmacd/)
 * (@ijmacd)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/http-error-47/#post-5376283)
 * I too am getting this error. I’ve only just installed this plugin so can’t say
   if this was due to a recent update or anything.
 * I’ve done some quick diagnosis. I can still upload images successfully which 
   are below the resize limit I set with the plugin. However, when I try to upload
   an image larger I experience similar symptoms to [@sepruda](https://wordpress.org/support/users/sepruda/).
   The ajax uploader fails only returning the message ‘`HTTP Error`‘. Using the 
   browser uploader fails silently. Inspecting the request shows it was a 500 error
   but it too was silent. After enabling ‘`WP_DEBUG`‘ the server spat out this with
   the 500 response:
 * > Fatal error: Call to undefined function imagecreatefromjpeg() in /var/www/html/
   > studio/wp-content/plugins/resize-image-after-upload/class.resize.php on line
   > 183
 * I have ImageMagick installed on my server but not GD:
 * >     ```
   >     imagick module	enabled
   >     imagick module version	3.1.2
   >     ```
   > 
 * WordPress is able to resize images itself, however, via the Edit Image page.
 *  [jepsonrae](https://wordpress.org/support/users/jepsonrae/)
 * (@jepsonrae)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/http-error-47/#post-5376284)
 * Thanks for the great feedback. I’ll be sure to check this out. I’m investigating
   the wp_image_resize function that could probably replace a lot of the custom 
   resize code and will detect automatically whether to use ImageMagik or GD. I’ll
   keep you posted.
 *  [jepsonrae](https://wordpress.org/support/users/jepsonrae/)
 * (@jepsonrae)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/http-error-47/#post-5376336)
 * Hi,
 * This should now be resolved with version 1.7. I’ve completely re-engineered the
   plugin’s resizing methods to use WP_Image_Editor, so now if your server has ImageMagick,
   it’ll use that!
 * Sorry for the delay. Please report back if it helps.
 * Kind regards
    Phil

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘HTTP error’ is closed to new replies.

 * ![](https://ps.w.org/resize-image-after-upload/assets/icon-256x256.png?rev=1940740)
 * [Resize Image After Upload](https://wordpress.org/plugins/resize-image-after-upload/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/resize-image-after-upload/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/resize-image-after-upload/)
 * [Active Topics](https://wordpress.org/support/plugin/resize-image-after-upload/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/resize-image-after-upload/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/resize-image-after-upload/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [jepsonrae](https://wordpress.org/support/users/jepsonrae/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/http-error-47/#post-5376336)
 * Status: resolved