Markus Manegold

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
in reply to: template tag [pdf_thumb] not working #183106

Hi Shahjada,

thank you for your reply.
My hoster gave me the hint, that the environment variable must be passed before the function calling Imagick.

He gives the following example:

###############<snip>
<?php

putenv(“HOME=/homepages/12/d123456789/htdocs”);

$cmd = ‘/usr/bin/convert /homepages/12/d123456789/htdocs/document.pdf /homepages/12/d123456789/htdocs/document.jpg’;
shell_exec($cmd);

?>
###############</snap>

Maybe there is a solution if you share me the file that accomplishes the call via shortcode [pdf_thumb] so that I
paste them into my child theme with the mentioned environment variable…

greets

Eckhard

in reply to: template tag [pdf_thumb] not working #183082
This reply has been marked as private.
in reply to: template tag [pdf_thumb] not working #183055

Thank you for your reply,

BUT:

Imagick ist available

https://www.monoxyle.com/phpinfo.php

an is doing it’s job:

https://www.monoxyle.com/imagick-test.php

but doesn’t work with your WPDM:

https://www.monoxyle.com/imagick-test/

There is no warning: [ imagick missing ] !!!!

Mit freundlichen Grüßen / Best regards

Eckhard Rolf

Viewing 3 posts - 1 through 3 (of 3 total)