Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: About images and PDF export

About images and PDF export 2 years 9 months ago #72754

  • Cyrolancer
  • Cyrolancer's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
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 administrator has disabled public write access.

Re: About images and PDF export 2 years 9 months ago #72773

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5423
  • Thank you received: 307
  • Karma: 252
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
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: About images and PDF export 2 years 9 months ago #72778

  • Cyrolancer
  • Cyrolancer's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
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 administrator has disabled public write access.

Re: About images and PDF export 2 years 9 months ago #72790

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5423
  • Thank you received: 307
  • Karma: 252
Does creating grapwork fine when using HTML output?

It works fine here, see attachment:

File Attachment:

File Name: Survey_24347_test_survey.pdf
File Size: 126 KB

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: About images and PDF export 2 years 9 months ago #72794

  • Cyrolancer
  • Cyrolancer's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
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 administrator has disabled public write access.

Re: About images and PDF export 2 years 9 months ago #72808

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5423
  • Thank you received: 307
  • Karma: 252
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
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: About images and PDF export 2 years 9 months ago #72822

  • Cyrolancer
  • Cyrolancer's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
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 administrator has disabled public write access.

Re: About images and PDF export 2 years 9 months ago #72842

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5423
  • Thank you received: 307
  • Karma: 252
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
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: About images and PDF export 2 years 9 months ago #72849

  • Cyrolancer
  • Cyrolancer's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
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 administrator has disabled public write access.

Re: About images and PDF export 2 years 9 months ago #72886

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5423
  • Thank you received: 307
  • Karma: 252
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
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.175 seconds
Donation Image