Forum Replies Created

Viewing 1 replies (of 1 total)
  • Getting errors when uploading images in WordPress
    The following problems occurring when uploading images in WordPress, and provides solutions for them :

    HTTP error When Uploading Image

    Unable to create directory and broken images in the Media Library
    File exceeds the upload_max_filesize

    Increase PHP Memory

    1) Contact your web hosting company and ask them to increase your PHP memory limit. Increase gradually until you are able to upload an image size which is acceptable by you. At least around width of 2000px.

    2) If you prefer to do it yourself, you can add the following in your wp-config.php. This will only work if your hosting package has that amount of memory. Increase gradually until you are able to upload an image size which is acceptable by you.

    define( ‘WP_MEMORY_LIMIT’, ‘256M’ );

    3) You can also try increasing your memory by adding the following in your .htaccess file. Note: Some web hosting does not allow this and you will have a 500 internal server error. In this case you will have to remove this code.

    php_value memory_limit 256M

    4) If you have access to your web server’s php.ini file, you can find the memory_limit and increase its size. This will only work if your hosting package has that amount of memory.

    memory_limit = 256M

    • This reply was modified 6 months, 1 week ago by Jack Calder.
Viewing 1 replies (of 1 total)