Page 1 of 1

Docker preview images (Ubuntu 16.04)

PostPosted:Mon Jul 24, 2017 2:58 am
by iphone
Been trying to get a preview of the images to work for the last day but cant find how to make it work,

Already:
installed Imagemagick
Ghostscript was already installed
installed Libreoffice too
installed docker,

ran it:
sudo docker run --name openkm -p 8080:8080 openkm/openkm

anything else I need to add?
thanks

Does imagemagick and Libreoffice go inside the Docker image or do they go outside?

BTW, uploaded a PDF and it works.
Uploaded a PNG and it doesn't work.

Re: Docker preview images (Ubuntu 16.04)

PostPosted:Mon Jul 24, 2017 5:44 am
by iphone
noticed swftools path differs from docs, instead of /etc
Docker path says
system.swftools.pdf2swf String /opt/openkm/bin/pdf2swf -f -T 9 -t -s storeallcharacters ${fileIn} -o ${fileOut}

Re: Docker preview images (Ubuntu 16.04)

PostPosted:Mon Jul 24, 2017 9:30 pm
by iphone
So far, PDF and TXT files show preview