WordPress.org

Support

Support » How-To and Troubleshooting » Maximum image upload size 2MB?

Maximum image upload size 2MB?

  • 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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Mark Ratledge
    Forum Moderator

    @songdogtech

    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.

    Thanks. That solved the problem.

    krispuckett
    Member

    @krispuckett

    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.

    Thoughts?

    Thanks.

    @krispuckett

    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Maximum image upload size 2MB?’ is closed to new replies.