- Posts: 66
- Thank you received: 3
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
QueXML PDF print images
- baxterdmutt
- Topic Author
- Offline
- Senior Member
Less
More
5 months 1 week ago #252243
by baxterdmutt
QueXML PDF print images was created by baxterdmutt
Please help us help you and fill where relevant:
Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server: 6.3.4
Survey theme/template:fruity
==================
Is there a way to have the pdf export print images.
I’m using the SignaturePad add on and when I export to the PDF, instead of the png image, I get the base64 data image text.
Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server: 6.3.4
Survey theme/template:fruity
==================
Is there a way to have the pdf export print images.
I’m using the SignaturePad add on and when I export to the PDF, instead of the png image, I get the base64 data image text.
Please Log in to join the conversation.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12943
- Thank you received: 3979
5 months 1 week ago #252254
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic QueXML PDF print images
Hi,
as this queXML was designed for something quite different - the creation of a paper-pencil-questionnaire that can be scanned after completion - I do not recommend the use as a report.
With pdfReport you can create much more appealing reports.
And the image is displayed
Here a rough sample
Joffm
as this queXML was designed for something quite different - the creation of a paper-pencil-questionnaire that can be scanned after completion - I do not recommend the use as a report.
With pdfReport you can create much more appealing reports.
And the image is displayed
Here a rough sample
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu, r0bis
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
5 months 1 week ago #252287
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic QueXML PDF print images
pdfReport can use < img ="datauri" > directly
It was tested with gitlab.com/SondagesPro/ExportAndStats/generateGraphQuestion who create too datauri for image.
It was tested with gitlab.com/SondagesPro/ExportAndStats/generateGraphQuestion who create too datauri for image.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Please Log in to join the conversation.
- baxterdmutt
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 66
- Thank you received: 3
5 months 1 week ago #252288
by baxterdmutt
Replied by baxterdmutt on topic QueXML PDF print images
Hmm, when I do pdf report on 6.3.4 I do not get that. Instead I get the actual uridata
Hi,
as this queXML was designed for something quite different - the creation of a paper-pencil-questionnaire that can be scanned after completion - I do not recommend the use as a report.
With pdfReport you can create much more appealing reports.
And the image is displayed
Here a rough sample
Joffm
Please Log in to join the conversation.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12943
- Thank you received: 3979
5 months 1 week ago #252289
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic QueXML PDF print images
What to reply without knowing your report design
Joffm
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
5 months 1 week ago - 5 months 1 week ago #252291
by DenisChenu
And did you talk of pdfReport ?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic QueXML PDF print images
Did you tryHmm, when I do pdf report on 6.3.4 I do not get that. Instead I get the actual uridata
Code:
<img src="{questioonCode.NAOK}">
And did you talk of pdfReport ?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 5 months 1 week ago by DenisChenu.
Please Log in to join the conversation.
- baxterdmutt
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 66
- Thank you received: 3
5 months 1 week ago #252292
by baxterdmutt
Replied by baxterdmutt on topic QueXML PDF print images
Denis, I have done it like this. In the last question I entered as explained :
<img src="{signature}"/>
so for mine it looks like this
<img src="{G02Q01}"/>When I finish the survey the base64 data is shown instead of the graphic.
What am I doing wrong?
<img src="{signature}"/>
so for mine it looks like this
<img src="{G02Q01}"/>When I finish the survey the base64 data is shown instead of the graphic.
What am I doing wrong?
pdfReport can use < img ="datauri" > directly
It was tested with gitlab.com/SondagesPro/ExportAndStats/generateGraphQuestion who create too datauri for image.
Please Log in to join the conversation.
- baxterdmutt
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 66
- Thank you received: 3
5 months 1 week ago #252293
by baxterdmutt
Replied by baxterdmutt on topic QueXML PDF print images
Yes. That I just tried exactly that.
Did you tryHmm, when I do pdf report on 6.3.4 I do not get that. Instead I get the actual uridata
Code:<img src="{questioonCode.NAOK}">
And did you talk of pdfReport ?
Please Log in to join the conversation.
- baxterdmutt
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 66
- Thank you received: 3
5 months 1 week ago #252294
by baxterdmutt
Replied by baxterdmutt on topic QueXML PDF print images
Yes. I tried pdfReport. But it also displayed the base64 text.
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
5 months 1 week ago #252296
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic QueXML PDF print images
Unsure : but maybe you need to add data:image/png;base64, ?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Please Log in to join the conversation.
- baxterdmutt
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 66
- Thank you received: 3
5 months 1 week ago #252297
by baxterdmutt
Replied by baxterdmutt on topic QueXML PDF print images
what do you mean. What would that look like?
Unsure : but maybe you need to add data:image/png;base64, ?
Please Log in to join the conversation.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12943
- Thank you received: 3979
5 months 1 week ago #252298
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic QueXML PDF print images
I do not see any issue.
Here the structure of my pdfReport.
Very simple with one table (just to show a bit more) and the image (Q3)
The pdfReport settings:
The preview
and the pdf itself
What did you do?
Joffm
Here the structure of my pdfReport.
Very simple with one table (just to show a bit more) and the image (Q3)
Code:
<p>My pdf report</p> <table border="1" collapse="collapse" width="70%"> <tbody> <tr> <th colspan="2">You selected</th> </tr> <tr> <td style="width:80%">Subquestion 1</td> <td style="width:20%">{if(Q1_SQ001=="Y","Yes","No")}</td> </tr> <tr> <td style="width:80%">Subquestion 2</td> <td style="width:20%">{if(Q1_SQ002=="Y","Yes","No")}</td> </tr> </tbody> </table> <br /><br />And here the image<br /><img src="{Q3}" />
The pdfReport settings:
The preview
and the pdf itself
What did you do?
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.