HI
I am face some problem with attach picture in pdf. i past to tcpdf content {file48} but pdf show only {file48} not show upload image.I also to "print" with tcpdf the windows of chronoforms but the image doesn't show in the pdf.
Thank
mostafa
I am face some problem with attach picture in pdf. i past to tcpdf content {file48} but pdf show only {file48} not show upload image.I also to "print" with tcpdf the windows of chronoforms but the image doesn't show in the pdf.
Thank
mostafa
Hi mostafa,
You need to add an image link to the template.
If {file48} is showing then maybe you have the TCPDF action before the File Upload action.
Bob
You need to add an image link to the template.
If {file48} is showing then maybe you have the TCPDF action before the File Upload action.
Bob
Hi Bob
thank for replay and problem is solve but other one
1.How to add Tcpdf Header image and Footer Image.
thanks
Mostafa
thank for replay and problem is solve but other one
1.How to add Tcpdf Header image and Footer Image.
thanks
Mostafa
Hi mostafa,
I don't think that you can add a header or footer image - the contents are treated as pure text.
The ChronoForms action only implements a small part of what the TCPDF can do. You can probably add an image using custom PHP to create the PDF.
Bob
I don't think that you can add a header or footer image - the contents are treated as pure text.
The ChronoForms action only implements a small part of what the TCPDF can do. You can probably add an image using custom PHP to create the PDF.
Bob
Hi Bob
i have to face some error when form submit .error message "TCPDF ERROR: [Image] Unable to get image:"
How to solve problem.Please Help me.
Thanks
mostafa
i have to face some error when form submit .error message "TCPDF ERROR: [Image] Unable to get image:"
How to solve problem.Please Help me.
Thanks
mostafa
Hi Mostafa,
I checked that the image exist and I can view it from here. Is there perhaps a permissions problem with the images folder so TCPDF can't read it?
What code exactly do you have in the PDF template for the image?
Bob
I checked that the image exist and I can view it from here. Is there perhaps a permissions problem with the images folder so TCPDF can't read it?
What code exactly do you have in the PDF template for the image?
Bob
Hi Bob
thanks to replay. PDF template image url <img src="http://www.ions2016.navy.mil.bd/images/registratiron/{file48}" style="width:150px; height:160px;"/>
thanks
mostafa
thanks to replay. PDF template image url <img src="http://www.ions2016.navy.mil.bd/images/registratiron/{file48}" style="width:150px; height:160px;"/>
thanks
mostafa
Hi Mustafa,
That looks OK too, did you check the folder permission? I doubt that is the problem but cant' think of anything else.
Bob
That looks OK too, did you check the folder permission? I doubt that is the problem but cant' think of anything else.
Bob
Hi mostafa,
By all means PM me the site URL, the form name, and a SuperAdmin login and I'll take a quick look.
Bob
By all means PM me the site URL, the form name, and a SuperAdmin login and I'll take a quick look.
Bob
Hi Mostafa,
I think that it is working OK now. I found this StackOverFlow answer and changing the HTML in the template to a relative URL
I think that the problem was that with a full URL because the file may not be local TCPDF uses cURL to download it to the TCPDF cache file and there was then either a problem because cURL wasn't available or the folder wasn't writeable.
I checked that the form submitted OK and a PDF was created with the image in it.
Bob
I think that it is working OK now. I found this StackOverFlow answer and changing the HTML in the template to a relative URL
<img src="/images/registratiron/{file48}" . . .
solved the problem.
I think that the problem was that with a full URL because the file may not be local TCPDF uses cURL to download it to the TCPDF cache file and there was then either a problem because cURL wasn't available or the folder wasn't writeable.
I checked that the form submitted OK and a PDF was created with the image in it.
Bob
This topic is locked and no more replies can be posted.