• Resolved tanckom

    (@tanckom)


    Hello,

    Thanks again for this great plugin. I can imagine that there are a lot of upcoming features ??

    My question is,is it possible to limit the image upload size for this box? I mean when theres 100 people with 10MB pics, then are they easily taking your space away…

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter tanckom

    (@tanckom)

    Message deleted

    • This reply was modified 8 years, 6 months ago by tanckom.
    Plugin Author Greg Winiarski

    (@gwin)

    The max. file upload size you can control on the server level (that is in PHP settings), by default it is 8MB or 2MB depending on the server.

    I’ll see if i can come up with a code snippet which will allow to validate file size, if so then i will post an update in this thread.

    Thread Starter tanckom

    (@tanckom)

    In your gallery.php file, there’s this line:

    ‘max_file_size’ => wp_max_upload_size().’b’,

    why cant we use that one?

    Plugin Author Greg Winiarski

    (@gwin)

    It limits the file size when selecting a file in browser, but as far as i know this does not work with all browsers.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display ads and image size limitation’ is closed to new replies.