Hi all,
I have started using dompdf and everything was fine until I tried to insert images.
I have not changed any config settings as I unpacked the lib into my CakePHP application and it produced text only PDFs straight away.
I could not get the images working on my local WAMP setup or when uploaded to my LAMP server.
The HTML I am using shows the images fine, so nothing wrong with the URLs. I am inserting 3 images, one using a standard <img /> tag and the other two using CSS backgrounds. All images are using absolute urls starting with a leading / the <img /> tag renders a crossed out block with the text 'Image not readable or empty' to CSS images simply do not show.
Unfortunately CakePHP does not make it easy for me to be able to load the /www/setup.php file (tried to alter .htaccess files to allow this, with no joy).
Can you give me some pointers on how I can troubleshoot the problem?
HTML output:
DOMPDF output script:
Version: DOMPDF 0.6.0 beta 3