Hello,
I'm using CKFinder as a stand-alone application for my file-uploads onto the server.
I'd like to have multiple file inputs to upload different files:
- one for images only
- one for files only
My problem is that I haven't found yet in the docs how to enclose a "document type" so only that type of files could be selected or could be visible in CKFinder.
During my internship I've worked with Moxiemanager, in which it's quite easy to have a images-only field: http://moxiemanager.com/demos/images.php. But I don't like the looks and feels of that file browser so I hoped an equal function would be available in CKFinder too.
Thanks in advance!
Ya, it's doable using
Ya, it's doable using resource types. Check the following sample in your ckfinder folder: ckfinder/_samples/popups.html
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
config.resourceType migth be
config.resourceType migth be handy as well
In the popups sample you may try adding:
in the BrowseServer() function. It will restrict the available resource types to one: "Images".
Each resource type has a definition of allowed extensions associated with it, so it should be exactly what you need.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Thanks!
Thanks for your reply.
It was a little bit confusing in the help files, but it does work like that!