Upload size limit

I would like to know if I could set up a limit on upload size for photo? Looking forward to see more development on this plugin!

  • Aphrodite
    • The Reaper

    mmm this is a php.ini parameter "upload_file_size"

    on dedicated you can do what you whant, check that with your hoster. Generally on shared hosting this is set to 2MB

    Once done you can set the max size file upload in general parameters (in a multisite, dont know on single site, never set up one ^^)

  • DavidM
    • DEV MAN’s Mascot

    Hi deafnation,

    As Aphrodite's getting at, the limit would actually be based on your setup, which commonly is set to 2MB with shared hosting.

    You may be able to simply create a PHP.INI file in your site's root directory and include something like the following:

    upload_max_filesize = 64M
    post_max_size = 64M

    Though if there's already a PHP.INI file there, you can simply edit those existing values (assuming those values are there already) or add them in.

    Let us know how that goes!


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.