Hello
I have a webform with a file field to upload image.
I want to print the image in the pdf.
If I put %value[mypicture] it prints a link to the image.
Is there a way to print the image or just the url to the image? (%value[mypicture:filename] for example)
(Then I would put it inside
Thank You
Comments
Comment #1
Bottley commentedHi,
I have the same request. Have there been any developments since this post?
Comment #2
droprocker commentedYou can probably put your value inside an img-tag:
<img src="%value[mypicture]" />Comment #3
HashKey commentedHello and thank you missingdot it works for me.
#HashKey
Comment #4
HashKey commentedCan you close this issue if it's fixed for everyone ?
Regards,
HashKey
Comment #5
jglynn commentedHow would you do it for webform 7.4x?
[submission:values:fieldset_name:field] returns a link to the image, not the actual image url.
Comment #6
jglynn commentedComment #7
K99 commentedJglynn any luck?
Comment #8
kyleheney commentedI'm also looking for this functionality. I'm using Webform Select Image and would like the selected image to be rendered on the PDF.
If anyone has been able to do this, please let me know how.
Thank you
Comment #9
zaj commentedjglynn or kyleheney. What solution of your problem?
Comment #10
kyleheney commentedNo solution found yet. Changed the way I was going to show the form's output (didn't use a PDF).
Comment #11
sankarsvks88 commentedMe also have the same problem.
Any solution yet.
Comment #12
Arunah commentedFound working solution here:
https://github.com/mandar37/Code/blob/master/webform2pdf%20display%20image
Comment #13
lcaraves commented#Arunah, how to use the code?
This link https://github.com/mandar37/Code/blob/master/webform2pdf%20display%20image