Page 1 of 1

Adding preview for new mime types

PostPosted:Thu May 01, 2014 10:31 pm
by omnicron
I have a lot of solidworks files in openkm and would like to be able to show them in the preview screen.

I can get a preview of the .sldprt files in linux with

gsf cat "Test Part.SLDPRT" PreviewPNG > preview.png

How can I get openkm to show that in the browsers like when preview PDFs or GIF/PNG files?

Is there a way to set a mime type to an action for the preview part?

OpenKM 6.2.5 on Ubuntu 14.04

Thanks

Tim

Re: Adding preview for new mime types

PostPosted:Sat May 03, 2014 8:56 am
by jllort
There's similar or the same application for windows, is not possible do preview only in one OS must be able to do it at least in Windows and Linux.
For doing it is necessary do some source code modifications, do you have got java skills ?