[wp-hackers] Media upload: limit file type and size
frank at bueltge.de
Tue Jan 5 18:16:05 UTC 2010
And maybe you can set the sizes via ini_set()
On Tue, Jan 5, 2010 at 5:38 PM, Claudio Simeone <mrbrog at gmail.com> wrote:
> Hi all,
> is it possible to allow in the media uploader only jpg / gif / png
> files and set a file size limit only for some file types?
> I need to disallow some users from uploading very large bmp image
> files, but giving them the possibility to upload videos.
> The best would to set an option per file type, e.g:
> - disable bmp upload (and other image types)
> - allow only jpg, gif, png files less than 2 Mb
> - allow only flv files less than 6 Mb.....
> Is there a way to do this? In the support forum I found nothing.
> thanks in advance
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers