saseow
Posts: 744
|
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.
|
|
|
ckroon
Posts: 869
|
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. |
|
|
saseow
Posts: 744
|
Posted: 06/18/2013, 4:19 PM |
|
Now that's an idea!
I will give it a try and let you know.
Thanks ckroon!
|
|
|
saseow
Posts: 744
|
Posted: 06/19/2013, 3:33 AM |
|
Nope, that did not work either although I was sure it would.
|
|
|
ckroon
Posts: 869
|
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. |
|
|
saseow
Posts: 744
|
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!
|
|
|