• Resolved joanacgpm

    (@joanacgpm)


    Hello. I am having trouble uploading images. The only images I can upload are very small ones. Other than those I get this ” The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task. Uploading a smaller image may help. Suggested maximum size is 2560 pixels.” over and over .

    I have uploaded them to wpcontent\uploads via FTP but they simply don’t show in library .

    Contacted my hosting support and after some tests ( They uploaded small and a bigger 12mb pic ) and only the small ones appear so they concluded that the problem was on wordpress

    Can you please help me ?

    Cheers

Viewing 11 replies - 1 through 11 (of 11 total)
  • leafwrench

    (@leafwrench)

    Hi! Have you tried increasing the maximum file upload size and/or the maximum post size? There’s a helpful tutorial here.

    leafwrench

    (@leafwrench)

    Also, I should mention that if have access to cPanel with your hosting plan, you can possibly find a place to change the values mentioned in the above tutorial in the options tab of the PHP version selector.

    Thread Starter joanacgpm

    (@joanacgpm)

    Hi

    It has always been set to 512mb as you can see (.htaccess ) :

    <IfModule php7_module>
       php_flag display_errors Off
       php_value max_execution_time 30
       php_value max_input_time 60
       php_value max_input_vars 1000
       php_value memory_limit 512M
       php_value post_max_size 516M
       php_value session.gc_maxlifetime 1440
       php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
       php_value upload_max_filesize 512M
       php_flag zlib.output_compression Off

    Also the config of PHP was taken care when I was to talking to hosting support

    I was able to add bigger files before. Don’t really know what’s happening

    Cheers

    leafwrench

    (@leafwrench)

    Hmm, sorry. I was hoping it would be an easier fix for you. We need someone with more knowledge about how the WordPress backend works with regards to the Media Library. Is the server logging any errors connected to this issue?

    Thread Starter joanacgpm

    (@joanacgpm)

    No, nothing regarding that unfortunately

    Dion

    (@diondesigns)

    That message is caused by a HTTP50x server error. Server errors are logged in the PHP error log, and your host should be able to provide that log.

    Unless you know exactly what the errors are, you aren’t going to be able to fix them.

    Thread Starter joanacgpm

    (@joanacgpm)

    Waiting for response from hosting

    Have you got an apostrophe in the file name? I had this with tiny images, but the cause was a ‘ in the actual file name

    Thread Starter joanacgpm

    (@joanacgpm)

    It was something else. It’s solved now. Thanks

    What was it @joanacgpm, how did you solve it? I have the same problem on one site and it started happening suddenly but earlier there weren’t any problems. I see the image is uploaded to the /uploads/2022/07/ directory on the server but WP processing gets stuck for some reason and it doesn’t appear in the Media Library. Got the same error:
    The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task. Uploading a smaller image may help. Suggested maximum size is 2560 pixels.

    • This reply was modified 2 years, 8 months ago by wutsdis.

    @joanacgpm How did you solve the problem? If you get free help here, show the courtesy to share the solution too.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Can’t upload images bigger than 200kb’ is closed to new replies.