mardi 6 janvier 2015

Not loading images when generating pdf on AWS Server

I'm using CakePHP on AWS Server with CentOS.


When I click on generate pdf, it generates the corrupted file that doesn't open because of images. If I remove all the images from pdf it loads fine.


I have installed imagemagick and GD library on my server as suggested by some search results on Google, but still it is not taking static images as src image as well as background image.


I have tried using absolute path. I also set DOMPDF_ENABLE_REMOTE to TRUE and DOMPDF_PDF_BACKEND to CPDF





Aucun commentaire:

Enregistrer un commentaire