Maximum image upload size 2MB? (5 posts)

  1. cdffit
    Posted 4 years ago #

    I am trying to upload images and I am getting an error message that 2MB is the max size. I have tried several different themes to no avail. I also installed the NextGen Gallery plug-in and still can't upload images over 2MB. Is it true that WP can't take images over 2MB? If so, how are you supposed to create a photoblog in WP if there's a size limit? What other platform can I use besides WP to create a photoblog?

  2. Mark Ratledge
    Forum Moderator
    Posted 4 years ago #

    You need to change the max upload line in your php.ini file. Find the line

    upload_max_filesize = 2M

    and change it to 8M or so.

    If you don't have access to php.ini, ask your web host.

  3. cdffit
    Posted 4 years ago #

    Thanks. That solved the problem.

  4. krispuckett
    Posted 4 years ago #

    So I also adjusted the php.ini but I keep getting this error.

    (Error : Exceed Memory limit. Require : 56.47 MByte) - but the photos are under the new maximum size, they are all 2mb each.



  5. Paul Phillips
    Posted 3 years ago #


    Hopefully, you sorted that but if not that's PHP running out of RAM while processing the image. Nothing to do with max upload size. Set this in php.ini

    memory_limit = 128M

Topic Closed

This topic has been closed to new replies.

About this Topic