Upload file type
chivas12
Joined: 2005-05-31
Posts: 43 |
![]() |
Hi all, Is there any method to enable the user to upload only image files(jpeg,png,gif,etc) but not any other else? Do I need to write any code and can anyone provide some guidelines to me? Thanks a lot! Chivas12 <TYPE YOUR MESSAGE HERE, ENTER SYSTEM DETAILS BELOW> |
|
nivekiam
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
DO NOT ask the same question in different forums. I'm locking this thead. Keep your questions on this topic here, http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=34555&highlight=filter+file+type |
|
deepsingh
Joined: 2008-02-19
Posts: 17 |
![]() |
hi, use mime maintenance module, this module will solve your problem. This Mime module have all option, if you want to block specific mime type or allow to upload specific mime, it is very good option for you. * Allows you to view and edit Gallery's file extension (e.g. '.jpg') to MIME-type mapping. download from here : http://codex.gallery2.org/Gallery2:Download#Modules deepsingh |
|