You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 22, 2020. It is now read-only.
I found a small bug in your extension.
If our customer uses a space in the path to the pdf (yes, I know that this is bad habit) the Imagemagick will throw an extension.
You have to change ContentPreviewDownload.php, l. 163 (exec, sprintf) and add quotes: 'PATH=\$PATH:%s;export PATH;%s/convert %s\'%s/%s%s\' %s/%s 2>&1',
I would like to suggest the possibility to have this functionality for a list of downloads as well.
The text was updated successfully, but these errors were encountered:
Xendiadyon
changed the title
Minor bugs and feature request
Minor bugs and feature request: Spaces in file path, explain the path to ImageMagick
Aug 23, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi aschempp,
I found a small bug in your extension.
If our customer uses a space in the path to the pdf (yes, I know that this is bad habit) the Imagemagick will throw an extension.
You have to change ContentPreviewDownload.php, l. 163 (exec, sprintf) and add quotes:
'PATH=\$PATH:%s;export PATH;%s/convert %s
\'%s/%s%s
\'%s/%s 2>&1',
Furthermore, you should explain somewhere that the path to ImageMagick has to be set in the Contao Settings and how the path should look like:
https://community.contao.org/de/showthread.php?65801-PDF-Thumbnails-mit-quot-contao-previewdownload-quot&p=480257#post480257
I would like to suggest the possibility to have this functionality for a list of downloads as well.
The text was updated successfully, but these errors were encountered: