Support » Fixing WordPress » Http error for jpg, gif

  • Hi

    I am getting http error when I upload jpg, gif images while png images are still uploading fine. I am unable to find out what’s wrong with the site. Any clues guys?


Viewing 5 replies - 1 through 5 (of 5 total)
  • Did you try a google search? (try ‘http error when I upload jpg, gif images’)

    Thread Starter Maxal


    I did try but couldn’t fine a specific answer.

    Another thing: When I refresh my media gallery after the http error, I can see the image uploaded though WP isn’t creating thumbnail preview of the image. Image is also accessible in the browser.

    My guess is that WP is being barred from creating thumbnail preview for jpg and gif images otherwise it is uploading the images just fine.

    It might have to do something with W3 Total Cache?

    1) what happens if you disable ALL your plugins?
    2) how big are the images?
    3) Increase your PHP memory. Add this code define(‘WP_MEMORY_LIMIT’, ’64M’) into your wp-config.php file. This setting may not work if your host does not allow you to increase the PHP memory limit, so I suggest talking to your support directly and ask them to change the limit for you. You’ll skip the hassle.
    4) check your .htaccess file to see if the extensions are allowed
    5) Make sure you don’t have an apostrophe in the image file’s name (e.g. mary‘s-wedding.png), because that will trigger the error as well.

    Thread Starter Maxal



    I strongly believe that W3 Total Cache would be doing something here because everything was fine till last night when I did some tweaking to the plugin settings. Since then I am having this problem. I tried to undo as many changes as I could remember, but the issue is still here.

    Tell me what is the safest way to disable W3 Total Cache plugin without breaking the website?

    Thanx for your help man 🙂


    I think it has an option to flush the caches and then I would disable the plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Http error for jpg, gif’ is closed to new replies.