Open GoogleCodeExporter opened 8 years ago
The attached code doesn't indicate how the image is referenced in the image
element's src attribute. Is it relative or absolute, include the domain or just
with path information? As a first step, check to make sure your web server has
read/write access to the DOMPDF_TEMP_DIR directory.
Also, browse to dompdf/www/setup.php to see a summary of your configuration and
any possible problems.
Original comment by eclecticgeek
on 12 Oct 2011 at 2:18
This may be related to an issue with spaces in the src.
Original comment by fabien.menager
on 23 Oct 2011 at 2:44
I came across the same bug when I used an absolute URL, e.g.
"http://example.com/images/myimage.png" in the img tag. My workaround was to
replace the absolute URLs with relative ones. BTW, this bug doesn't occur in
version 0.5.2
Original comment by redge...@gmail.com
on 26 Jan 2012 at 9:52
@redgeoff you've managed to work around your problem, however ... this *may* be
related to a change in the default value for DOMPDF_ENABLE_REMOTE. In 0.5.2
this is true by default, in 0.6.0 this is false. Any URL that includes a domain
requires this value to be true.
Original comment by eclecticgeek
on 5 Feb 2012 at 1:25
Thank you! Setting DOMPDF_ENABLE_REMOTE to false also does the trick.
Original comment by redge...@gmail.com
on 8 Feb 2012 at 10:03
Original comment by eclecticgeek
on 24 May 2013 at 3:00
Original issue reported on code.google.com by
jaume.he...@gmail.com
on 11 Oct 2011 at 1:39Attachments: