05-24-2012 04:07 PM
Nuxeo 5.5 on Mac OS X Lion server...
I've imported a PSD as a file into DAM and it won't show a preview or thumbnail image of the PSD file, then I tried as an image, didn't allow cause it wasn't a jpg, gif, png. Lastly I tried as a video and it didn't worth either! Here is what I see http://dl.dropbox.com/u/37922225/Capture.PNG - The first one that has the "OFFICE"thumbnail with file name "Click here" is a PSD, second one is an image "Hello World" and the last one "Laptop" is a PSD imported as a video. Any suggestions?
05-25-2012 01:32 PM
I imported the PSD without issue. See http
05-25-2012 02:07 PM
Here is a list of local packages I have installed on mine, maybe I need to enable one of them?
05-25-2012 02:52 PM
What I did to fix this issue was make a custom contribution to override default office and image plugin filters. I changed the "order" attribute of OfficeFileImporter to 7 and the Imageplugin to 8. The contribution I'm using follows... (the classes associated with each plugin extend the default classes and override functions)
<?xml version="1.0"?>
<component name="com.concena.custom.dam.core.filemanager.plugins">
<require>org.nuxeo.ecm.platform.filemanager.service.FileManagerService.Plugins</require>
<require>org.nuxeo.dam.filemanager</require>
<require>org.nuxeo.ecm.platform.picture.filemanager.contrib</require>
<extension target="org.nuxeo.ecm.platform.filemanager.service.FileManagerService" point="plugins">
<plugin name="OfficeFileImporter" class="com.concena.custom.dam.importer.DefaultFileImporterCustom" order="7">
<filter>application/msword</filter>
<filter>application/vnd.openxmlformats-officedocument.wordprocessingml.document</filter>
<filter>application/vnd.openxmlformats-officedocument.wordprocessingml.template</filter>
<filter>application/vnd.ms-word.document.macroEnabled.12</filter>
<filter>application/vnd.ms-excel</filter>
<filter>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</filter>
<filter>application/vnd.openxmlformats-officedocument.spreadsheetml.template</filter>
<filter>application/vnd.ms-excel.sheet.macroEnabled.12</filter>
<filter>application/vnd.ms-excel.template.macroEnabled.12</filter>
<filter>application/vnd.ms-excel.addin.macroEnabled.12</filter>
<filter>application/vnd.ms-excel.sheet.binary.macroEnabled.12</filter>
<filter>application/vnd.ms-powerpoint</filter>
<filter>application/vnd.openxmlformats-officedocument.presentationml.presentation</filter>
<filter>application/vnd.openxmlformats-officedocument.presentationml.template</filter>
<filter>application/vnd.openxmlformats-officedocument.presentationml.slideshow</filter>
<filter>application/vnd.ms-powerpoint.addin.macroEnabled.12</filter>
<filter>application/vnd.ms-powerpoint.presentation.macroEnabled.12</filter>
<filter>application/vnd.ms-powerpoint.template.macroEnabled.12</filter>
<filter>application/vnd.ms-powerpoint.slideshow.macroEnabled.12</filter>
<filter>application/vnd.sun.xml.impress</filter>
<filter>application/vnd.sun.xml.impress.template</filter>
<filter>application/vnd.oasis.opendocument.presentation</filter>
<filter>application/vnd.oasis.opendocument.presentation-template</filter>
<filter>application/vnd.sun.xml.calc</filter>
<filter>application/vnd.sun.xml.calc.template</filter>
<filter>application/vnd.oasis.opendocument.spreadsheet</filter>
<filter>application/vnd.oasis.opendocument.spreadsheet-template</filter>
<filter>application/vnd.sun.xml.writer</filter>
<filter>application/vnd.sun.xml.writer.template</filter>
<filter>application/vnd.oasis.opendocument.text</filter>
<filter>application/vnd.oasis.opendocument.text-template</filter>
<filter>application/pdf</filter>
<filter>application/xml</filter>
<filter>text/xml</filter>
<filter>text/plain</filter>
<filter>text/html</filter>
<filter>application/xhtml+xml</filter>
<filter>text/x-web-markdown</filter>
</plugin>
<plugin name="Imageplugin" class="com.concena.custom.dam.importer.customImagePlugin" order="8">
<filter>image/jpeg</filter>
<filter>image/gif</filter>
<filter>image/png</filter>
<filter>image/tiff</filter>
<filter>image/bmp</filter>
<filter>image/x-ms-bmp</filter>
<!-- RAW images mime type -->
<filter>image/x-canon-cr2</filter>
<filter>image/x-canon-crw</filter>
<filter>image/x-nikon-nef</filter>
<filter>image/x-adobe-dng</filter>
<filter>image/x-panasonic-raw</filter>
<filter>image/x-fuji-raf</filter>
<filter>image/x-sigma-x3f</filter>
<filter>image/x-pentax-pef</filter>
<filter>image/x-kodak-dcr</filter>
<filter>image/x-kodak-kdc</filter>
<filter>image/x-sony-sr2</filter>
<filter>image/x-sony-arw</filter>
<filter>image/x-sony-srf</filter>
<filter>image/x-minolta-mrw</filter>
<filter>image/x-olympus-orf</filter>
<filter>image/x-raw-epson</filter>
<filter>image/x-portable-pixmap</filter>
<filter>image/raw</filter>
<filter>image/x-raw</filter>
<filter>application/illustrator</filter>
<filter>image/photoshop</filter>
<filter>application/postscript</filter>
</plugin>
<plugin name="DefaultFileImporter" class="com.concena.custom.dam.importer.DefaultFileImporterCustom" order="25">
<filter>.*</filter>
</plugin>
</extension>
</component>
The contribution is made in an xml file and included in my Nuxeo IDE build process.
05-25-2012 04:13 PM
Forgive my ignorance bruce, where do I add/create this xml?
05-25-2012 04:53 PM
Sorry about that.
05-30-2012 02:53 PM
Thanks for the reply, how did you import the PSD, as an image or file?
05-30-2012 04:58 PM
I think has something to do with MySQL. I tried a new install with the default database service, put the XML file in the nxserver/config... it worked! With MySQL, put the file in nxserver/config, it shows nothing. Any suggestions of what may cause this issue using MySQL?
05-30-2012 05:08 PM
Well Nuxeo recommends not using MySql for the most part (see http
05-30-2012 05:41 PM
I found "We generally don't recommend to use MySQL (see Why avoid MySQL?)." Saw the listed reasons, I'm going to use the recommend SQL engine (postgresql) and I'll report back my results.
05-31-2012 06:00 PM
I've configured it with postgresql and it seems to be working correctly. It must of been MySQL the problem with not showing the preview and thumbnail. Thanks for the help bruce!
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.