Upload file type
|
chivas12
Joined: 2005-05-31
Posts: 43 |
Posted: Thu, 2005-08-18 13:25
|
|
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> |
|
| Login or register to post comments |

Posts: 3405
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
Posts: 16
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.
* Configure MIME-types that are allowed to be uploaded (added in G2.2)
download from here : http://codex.gallery2.org/Gallery2:Download#Modules
deepsingh