Issue with images

156 views
Skip to first unread message

Christian Fuentes

unread,
Jun 26, 2011, 1:25:57 PM6/26/11
to dompdf
I'm trying to generate a PDF with images from CodeIgniter (using
dompdf as a helper) and I can't find the solution for them to appear.

I've tried remote address (enabling DOMPDF_ENABLE_REMOTE), a local
file path and even the embedded image using the file from the data uri
example. But none of them worked.

THe only thing I've seen is a lot of Division by zero and Undefined
offset warnings in the log file, can that have something to do with
the error?

BrianS

unread,
Jun 26, 2011, 9:52:29 PM6/26/11
to dom...@googlegroups.com
On Sunday, June 26, 2011 1:25:57 PM UTC-4, Christian Fuentes wrote:
I'm trying to generate a PDF with images from CodeIgniter (using
dompdf as a helper) and I can't find the solution for them to appear.

I've tried remote address (enabling DOMPDF_ENABLE_REMOTE), a local
file path and even the embedded image using the file from the data uri
example. But none of them worked.

Which version of DOMPDF? What is the image type you are using? Is the GD PHP extension enabled on your server?
 
THe only thing I've seen is a lot of Division by zero and Undefined
offset warnings in the log file, can that have something to do with
the error?

Could be, but we'd have to see the error to know for sure. 

Christian Fuentes

unread,
Jun 27, 2011, 4:49:28 PM6/27/11
to dompdf
Hi,

I finally got it working embedding the images, but the problem seemed
to be in a css property, I deleted all the css and it worked. Now I'm
trying to identify with rule screw things up, but now at least it
works.
Reply all
Reply to author
Forward
0 new messages