Pdf preview not available

Added by santhosh soma 4 months ago

I changed the some patch in thumbnail.rb after that in information tab ImageMagick PDF support available (optional) is available but pdf preview is not available.

but i'm able to see the pdf thumnail images are broken.

psd_error.PNG (33.3 KB)

Replies (3)

RE: Pdf preview not available - Added by Jonathan Cormier 16 days ago

Seems like this might be intentional? Seems odd... https://www.redmine.org/issues/34896

RE: Pdf preview not available - Added by Jonathan Cormier 16 days ago

Or perhaps not, atleast in 4.1.1, it was working with a change to the imagemagick policy file.

# update ImageMagick policy to allow PDF read for thumbnail generation.
# https://github.com/sameersbn/docker-redmine/pull/421
sed -i 's/ domain="coder" rights="none" pattern="PDF" / domain="coder" rights="read" pattern="PDF" /g' /etc/ImageMagick-*/policy.xml

https://github.com/sameersbn/docker-redmine/pull/421

RE: Pdf preview not available - Added by Jonathan Cormier 16 days ago

Turns out my issue was with the redmine_cms 1.2.2 plugin. Posted an issue to them: https://www.redmineup.com/questions/294-redmine-4-2-3-redmine_cms-1-2-2-breaks-pdf-thumbnails

(1-3/3)