I wanted to add png as a type of file that can be uploaded....
looking at the docs i saw that it was possible...
setAllowedFileTypes(array $types)
looking at the imagegallery code i see
array(
'file_upload_limit' => $this->getUploadLimit(), // how many files can be uploaded
'file_queue_limit' => $this->getUploadLimit(), // how many files can be in the queue at once
'browse_button_text' => 'Upload Images...',
'upload_url' => Director::absoluteURL('ImageGalleryManager_Controller/handleswfupload'),
'required' => 'true'
)
i added : 'allowed_file_types' => array('jpg','png');
that of course doesn't work.
any more clues?
rob