Buy Now
Sign in

Signature widget image not showing on TCPDF plugin form saved

DrSmith69 , October 27 2017
Hi Guys,

I have connected the TCPDF plugin which is working awesomely!

One problem I have is I cannot get the image from the signature widget to display on the PDF form stored on my server.

I have read the FAQ's and I see you can add: <img src='{signature}' alt='signature' /> and this will pull the image from the signature widget, i have amended this to <img src='{data:signature}' alt='signature' /> for CFv6 and it works when I just display a standard custom code however it does not pull onto the actual form.

My TCPDF code is standard:

<p>Business Telephone: {data:business_tel}</p>
<p>Home Telephone: {data:home_tel}</p>
<p>Mobile Number: {data:cellular_no}</p>
<p>Email Address: {data:email_address}</p>
<hr />
<p><img src='{data:signature}' alt='signature' /></p>

However, everything else pulls and displays except my signature - this is very crucial so really hoping there is a way to get this right?
Hi DrSmith,

So it works when you use that code inside a "Custom code" but not when you use the same code inside the TCPDF code ? if yes then I'm afraid that it may be a limitation withing in the TCPDF library itself!

Best regards
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
Hi DrSmith69 ,

I've seen a problem with the TCPDF library where is you show a full URL for an image then it is not loaded. You may need to edit this to show a relative URL without the domain part. Please see this post

ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
Can we have a better explanation on this. like an example of how you configure the signature inside the TCPDF. Also is it possible to save this image url to database just like any file input field?
I am trying to do the same thing and have not been able to get it to work. How can I have the signature widget save the signature as an image and display in a pdf. I am using Chronoforms 6 in Joomla 3.10.
If you update TCPDF by redownloading it from the Download link and reinstalling it using the joomla installer, TCPDF now accepts base64 encoded images. So you can just use
<img src = "{data:signature}" />
Web developer at
I don't work for ChronoEngine but I do accept donations