[wp-hackers] Media upload: limit file type and size

Frank Bueltge frank at bueltge.de
Tue Jan 5 18:12:45 UTC 2010

Maybe help this post http://wpengineer.com/add-file-types-for-mediathek/ for

http://bueltge.de : frank at bueltge.de
http://wpengineer.com : frank at wpengineer.com
Frank Bültge

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
> Claudio
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list