View Issue Details

This bug affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
19249Bug reportsPrint Viewpublic2023-11-17 21:41
Reporterbaxterdmutt Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version6.3.x 
Summary19249: jsPDF not printing datauri images as an image
Description

After finishing a survey and wanting to export as a pdf, everything works as it should except a datauri image prints texts instead of the image. After doing much googling I found a suggestion that this occurred in older versions of “jsPDF” It looks like Limesurvey is using 1.53 and 2.5.1 is available.
Is it possible to have it upgraded and any changes necessary made so that any datauri image in the survey is printed as an image instead of the text of the data.
I’m asking because the signature plugin works very well but is mostly useless because it’s not transferred to the pdf as the image.

Steps To Reproduce

Steps to reproduce

Create a test survey
Install the signature (not really a plugin. But a as question theme)
Enter <img src=‘{question decode of the signature}’/>
Attempt to “export pdf” at end of survey
###Expected Result
The datauri should be displayed as a png image

Actual result

The datauri is displayed as a long text field

TagsNo tags attached.
Bug heat0
Complete LimeSurvey version number (& build)6.2.8 to 6.3.4 at least
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql
Server OS (if known)
Webserver software & version (if known)
PHP Version7.4

Users monitoring this issue

There are no users monitoring this issue.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-11-17 21:41 baxterdmutt New Issue