Trouble with uploading images
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
… 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
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
…. and no luck, same error message.
I wonder if there is a pixel dimension limit somewhere? WordPress, Server?
- The topic ‘Trouble with uploading images’ is closed to new replies.