Unable to upload images
-
When I attempt to upload a header image I get this error
Post-processing of the image failed. If this is a photo or a large image, please scale it down to 2500 pixels and upload it again.Not matter how small I make it. I am using the Neve theme and Elementor
yes I have tried switching the theme and disabling all pluginsThe page I need help with: [log in to see the link]
-
Returned to PHP Version 5.6.23 media is worked! On 7 or 7.3 – not working((( Done all fixed steps from this chat.
Please developers check and fix this issue for php7 – because, some plugins not working with older version(((- This reply was modified 4 years, 9 months ago by GalinaBublik.
We encountered the same issue on a client’s website. After much troubleshooting, we figured through the server error logs that the issue was coming from a plugin called Social Warfare. Not sure if this is the ultimate solution, but it was for us. After disabling this plugin, it was all working fine.
Hope this helps someone.
Hi everyone, I just solved my version of this problem.
This may not be your problem, but I found that when I upload files that have an apostrophe in the name (for example john’s_house.jpg) WordPress will give the 2500px error.
When it first happened with a batch upload to 2 files out of 12, I knew the dimensions couldn’t be the reason because some of the other images were the same size or larger. After thinking about it, I noticed that the 2 that gave the error both had an apostrophe in the file name.
I removed the apostrophes from the file names, and then they uploaded without a problem.
This may also apply to other special characters in the file names.
I hope this helps someone.
Thank you, @thesinglegourmet. The apostrophes in the filenames were my issue as well.
I USE MANY TIME BUT I GET SAME ERROR IN UPLOADING OF IMAGES. I HAVE MUCH PROBLEM BECAUSE IT IS URGENT. PLEASE HELP ME AS SOON AS POSSIBLE.
THE ERROR IS :-
Post-processing of the image failed. If this is a photo or a large image, please scale it down to 2500 pixels and upload it again.
MY IMAGE SIZE IS LESS THAN THE 2500PX.I’m running php 7.2
Downgraded to 5.2.5
Installed Disable “BIG image” Threshold
Tested without ANY plugins running
Updated and reversed the divi theme, then tried with 2019 theme
Boosted the server
No apostrophes in the image links, or any other punctuationStill getting the “Post-processing of the image failed. If this is a photo or a large image, please scale it down to 2500 pixels and upload it again.” bug.
Any further advice?
The FTP upload and add from server method does work but this is not an option for membership profiles which is the case on a couple of my sites.
Hello,
This message show me only on the Google Chrome browser.
I tried with Edge, Safary, and Firefox and works well.
What happen with google chrome and the wordpress media library?
Maybe is a google chrome configuration?
I tried many options… anda the problem still happens.
I’m getting the same error in both Firefox, Edge and Google Chrome.
I thought it was a space issue, but what I learned, I can upload pictures that are around 150KB (havent figured the exact number out yet, but 177kb i get the error, 123kb worked)
At first I thought it was a size issue, but it lets me upload as many 100kb files as I want (I tested roughly 40 files), but nothing above 200kb will go.
I can upload files manually via FTP/SFTP no problem.
So troubleshooting I’ve done:
— Tried uploading files/images via FTP/SFTP: works with no issue (I cannot connect them to wordpress currently though, I can just move it to the server).
— Tried different browsers (firefox, edge, chrome) and clearing cache: same issue
— tried different size files: it appears the limit is somewhere between 127KB and 177KB
— Tried different file types: same issue
— I added a file directly via SFTP and used the ‘add from server’ plugin: this worked, I was able to add a 3 MB file doing this
— Tried maxing the memory and disable file size limits: same issue.
— Tried using default 2020 theme: Same issue
— Tried using the different ways of uploading images to wordpress: Every method did not work, but got different errors screens/message depending on the method, but the method-error output matched 1 to 1. That is to say, if I tried method A, I would always get the same error, even if the error was different than method B.
— Tried re-installing WordPress: Same errorHi. This could be a solution if you are having this issue. In my case, ImageMagick is causing the problem. So, i just added this lines to functions.php to tell WordPress that use GD instead. Please tell me if it worked for you =)
function use_gd_editor($array) { return array( 'WP_Image_Editor_GD', ); } add_filter( 'wp_image_editors', 'use_gd_editor' );
This is insane. I have tried almost everything in this thread and I’m still getting the original error after an upgrade to 5.3. I’m uploading a 216kb image in Media Library (not a post) and I get 404 error on async-upload.php in the console (yes, the file is on my server). WordPress 5.3.2. Here’s what I’ve tried:
1. Downgrading to PHP 7.3 and 7.2 (originally on 7.4)
2. Disabling every plugin
3. Installing the plugin that disables Big Image Threshold
4. Logging out/in
5. Clearing browser cacheAs for the server (PHP/Apache):
post_max_size = 65M
upload_max_filesize = 65MNot sure what else to do here. This feature is extremely broken.
I guess I should have mentioned this. Im using dreamhost. Seems some how related to the modsecurity. Basically uncheck “extra security”. But that’s still weird, nothing has changed at all add fast as I know.
I confirmed that if i re-enable the extra security the problem comes back. I want to keep the extra security though
Tried the function use_gd_editor($array) add, same issue
@mrogers, @saygodj, and everybody that is experiencing problems with uploading:
First step: rule out js errors (if you cannot upload any file) as described here: https://www.ads-software.com/support/topic/unable-to-upload-images-67/page/6/#post-12277831.
Next step: Look at the server and/or PHP error logs. These may be available through your hosting control panel, or you may need to contact your hosting company. This is a critical troubleshooting step that will give clues what’s going on. If you skip it, the only option would be to guess the reasons. That’s not easy as there are many of them.
I am suddenly unable to upload images successfully, and none of my images are visible on the website (mosessister.net)
Bluehost checked my file permissions this afternoon. The last time I successfully uploaded an image was 1/15/20. The website was fine then.
Any ideas?
- This reply was modified 4 years, 8 months ago by mosessister.
- The topic ‘Unable to upload images’ is closed to new replies.