Support » Fixing WordPress » Trouble with uploading images

  • Hi,
    I am having trouble with uploading large images to my native wordpress image gallery.

    I have increased the size of the file with a php.ini file in my wp-admin folder. This contains the following code:

    post_max_size = 50M
    upload_max_filesize = 40M
    max_execution_time = 900
    memory_limit = 30M

    This has helped me upload larger files but some of my images are still failing to upload.

    To give 1 example:

    Picture A – file size: 4.3mb
    dimensions: 4992px wide x 3328px high
    resolution: 72dpi

    … When I upload this image I get this error message:

    An Error occurred in the upload. Please try again later.

    However, I have tried downsizing this image slightly.

    Picture A new size – file size: 5.7mb
    dimensions: 4500px wide x 3000px high
    resolution: 72dpi

    This file uploaded 1st time without problems.

    I thought this pointed to a possible corrupt file (especially with the increase in file size even when the image was downsized)

    However, I tried the same process again and uploaded a file of this size:

    Picture A – 2nd new size – file size: 6.5mb
    dimensions: 4900px wide x 3267px high
    resolution: 72dpi

    …. and no luck, same error message.

    I wonder if there is a pixel dimension limit somewhere? WordPress, Server?


Viewing 1 replies (of 1 total)
  • So i had the same problem and i just fixed it today. You need to go to your FTP file transfer program, connect with server and then go the your upload folder. This is shown in the wp-content folder. Then right click on the folder and choose permissions. Or something like that i dont know what it is called in english 😉 then change the number into 770 and click save. This allows WordPress to rewrite the data in that map. In other words it allows wordpress to upload images in that folder.

Viewing 1 replies (of 1 total)
  • The topic ‘Trouble with uploading images’ is closed to new replies.