About images and PDF export

More
8 years 5 months ago #72754 by Cyrolancer
Hello LS Community,

I am trying to export my survey results to a PDF file. However, I couldn't manage to include images in the PDF file. The images are working in HTML view. "Show graphs" option is selected, of course :)

Any help on this issue will be appreciated.
The topic has been locked.
LimeSurvey Partners
More
8 years 5 months ago #72773 by Mazi
Replied by Mazi on topic About images and PDF export
Did you tick the "create graphs" option?

Which Limesurvey version do you use? it works fine here at the latest 1.91 version.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com
Want to use your survey offline -> www.offlinesurveys.com
The topic has been locked.
More
8 years 5 months ago #72778 by Cyrolancer
Of course :) Ticked "Create Graphs" on the same screen, accessed using the pie chart icon on the top. On that screen, I can choose HTML, PDF or Excel.

I am using the latest version available. I upgrade using the admin panel, as the upgrade released.
The topic has been locked.
More
8 years 5 months ago #72790 by Mazi
Replied by Mazi on topic About images and PDF export
Does creating grapwork fine when using HTML output?

It works fine here, see attachment:

File Attachment:

File Name: Survey_243...rvey.pdf
File Size:126 KB

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com
Want to use your survey offline -> www.offlinesurveys.com
Attachments:
The topic has been locked.
More
8 years 5 months ago #72794 by Cyrolancer
Yes, it creates graphs when HTML is selected.

I am thinking that it can be server issue. Do you have any idea about the PDF conversion process of LimeSurvey? What libraries are needed on server side, the process or the files that makes the conversion?
The topic has been locked.
More
8 years 5 months ago #72808 by Mazi
Replied by Mazi on topic About images and PDF export
Does it create the PDF without images?

Check the server's error log, are there any errors reported when trying to export charts as PDF?

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com
Want to use your survey offline -> www.offlinesurveys.com
The topic has been locked.
More
8 years 5 months ago #72822 by Cyrolancer
It creates PDF in any cases, but without images. It is some kind of silly but, I have set the font variable in config.php to VeraMono.ttf which I have downloaded from a free font website and everything is worked. I have tried this time on a Windows computer and using Adobe Reader to view PDF files. My previous trials were on a Ubuntu machine using its default PDF viewer.

I am going to try vera.ttf, distributed with LimeSurvey package, and test it again, on Windows and Ubuntu.
The topic has been locked.
More
8 years 5 months ago #72842 by Mazi
Replied by Mazi on topic About images and PDF export
Please also switch on debug mode by adding the following line to your config.php file:
$debug = '1';

Are there any additional errors reported on top of the page?

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com
Want to use your survey offline -> www.offlinesurveys.com
The topic has been locked.
More
8 years 5 months ago #72849 by Cyrolancer
Thank you for your assistance Mazi. I have managed to show the graphs on PDFs. The problem is that I have to define $chartfontfile variable. If it is not defined, PDF conversion seems to be corrupted and doesn't show graphs, especially readers different than Adobe. Sounds silly, but it works :)

Thanks :)
The topic has been locked.
More
8 years 5 months ago #72886 by Mazi
Replied by Mazi on topic About images and PDF export
If you can easily reproduce the problem, please open a ticket at our bugtracker so that at least a meaningful error message will be implemented.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com
Want to use your survey offline -> www.offlinesurveys.com
The topic has been locked.
More
8 years 5 months ago #72935 by DenisChenu

Cyrolancer wrote: Sounds silly, but it works :)

Oh yes !

I test with evince on Fedora, and same think. But in a 1.90 version it work like a charm ...

please open a ticket at our bugtracker


Denis :)

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.
The topic has been locked.
More
8 years 5 months ago - 8 years 5 months ago #72942 by Cyrolancer

Mazi wrote: If you can easily reproduce the problem, please open a ticket at our bugtracker so that at least a meaningful error message will be implemented.


Let me check out other factors (like server issues, user entries etc.) and I will submit the a complete analysis as soon as possible.
Last edit: 8 years 5 months ago by Cyrolancer.
The topic has been locked.
More
8 years 5 months ago #73004 by Mazi
Replied by Mazi on topic About images and PDF export
Thanks. Please post the link here aftewards.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com
Want to use your survey offline -> www.offlinesurveys.com
The topic has been locked.
More
8 years 3 months ago #76508 by Cyrolancer
Hello,

I am sorry for late reply. Somebody else, I want to call them "the guys", at the server side has done some configuration changes. The changes also stopped some other scripts hosted on the server. I have tracked all of them and made the server guys reverted back. Now it works like a charm.

I am sorry for the mess in this topic. I should have looked carefully to our server configuration before starting a new topic. I think there is not need to report this as a bug.

Thank you for all your support.
The topic has been locked.

Start now!

Just create your account and start using Limesurvey today.

Register now