CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 DOMPDF and image [CLOSED]

Print topic Send  topic

Author Message
saseow

Posts: 735
Posted: 06/18/2013, 4:40 AM

I am using JR modified html to dompdf. The html file has one single image (png) which shows perfectly in the html file but as soon as it is converted to a pdf it shows the little image square with a red cross through it.
I have spent two days looking through the forums and have tried everything suggested. This is the HTML: src="patient_signatures/{Image1}".
I have tried using a full server path and setting DOMPDF_ENABLE_REMOTE to both true or false and still no luck.
I am posting here as I have not got a reply from John and I am hoping someone else has had, and fixed a similar hassle.
View profile  Send private message
ckroon

Posts: 868
Posted: 06/18/2013, 4:03 PM

Try putting the image file in the folder the PDFS generate inside of and then have no path for the image, just grab it inside the PDF creation folder.

_________________
Walter Kempees...you are dearly missed.
View profile  Send private message
saseow

Posts: 735
Posted: 06/18/2013, 4:19 PM

Now that's an idea!

I will give it a try and let you know.
Thanks ckroon!
View profile  Send private message
saseow

Posts: 735
Posted: 06/19/2013, 3:33 AM

Nope, that did not work either although I was sure it would.
View profile  Send private message
ckroon

Posts: 868
Posted: 06/19/2013, 6:50 PM

Try uploading a pic to image shack or someplace, and then link it to that.. see if it works...
just for troubleshooting...

_________________
Walter Kempees...you are dearly missed.
View profile  Send private message
saseow

Posts: 735
Posted: 06/20/2013, 3:51 AM

I am afraid that I have given up on this idea of automatically creating a PDF on the server with signatures and have come up with another solution which they are happy with.
Thank you for all your suggestions!
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.