How can i make it so when i open the upload browse button within the editor the only file types the user can see are gif or jpgs.
also is there a way for the user to see what image they are selecting all i can see if the name of the file?
also is there a way for the user to see what image they are selecting all i can see if the name of the file?
RE: upload files within fck editor
FCKConfig.ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png)$" ; // empty for all
...I guess this will also control what can be selected in the upload. I'm not sure if it will actually cause the system to only show *.jpg, *.gif and so on in the file selection dialog. But you'll find out...
Show what image you're selection (in the file selection dialog) is offcourse up to the OS and cannot be controlled (as far as I know) by the web application. If it can be controlled surely it only works in Windows or something. Showing what picture was selected (that is AFTER the selection is done in the file dialog) would probably be possible by doing a litte hack in the filemanager html/javascript.