Upload images as files

As the default Image document type has less fields than the basic “file”, it could be nice to force actual images being uploaded to be of the latter type.

Is there any way to configure this?

1 votes

1 answers

2060 views

ANSWER



This is done through a default standard plugin: http://explorer.nuxeo.org/nuxeo/site/distribution/Nuxeo%20DM-5.4.2/viewContribution/org.nuxeo.ecm.platform.picture.filemanager.contrib--plugins

You can override it or disable it, read the extension point description at http://explorer.nuxeo.org/nuxeo/site/distribution/Nuxeo%20DM-5.4.2/viewExtensionPoint/org.nuxeo.ecm.platform.filemanager.service.FileManagerService--plugins

If it's disabled or your MIME type not included, then the normal File processing will take place.

2 votes