View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
15179 | Bug reports | Import/Export | public | 2019-08-22 09:18 | 2021-02-08 10:07 |
Reporter | Mazi | Assigned To | |||
Priority | none | Severity | minor | ||
Status | acknowledged | Resolution | open | ||
Product Version | 3.17.x | ||||
Summary | 15179: Exporting printable survey to HTML doesn't properly include files paths | ||||
Description | If there is a survey with 2-3 images embedded and you export the printable version (HTML), the embedded files do not get included properly at the HTML file. Most probably this is because of the relative paths within the HTML (src="/upload/surveys/192243/images/IMG_2085.JPG"). At my Windows system this leads to a link pointing to file:///upload/surveys/192243/images/IMG_2085.JPG. Also, while the whole template seems to be exported along, the files at upload/surveys/<SID> seem to be missing at the ZIP file. So even if we adjust the links, we still need to make sure that those files exist. In addition to that I wonder why there is no "Printable version (HTML)" screen at theme level. If I am exporting my survey to HTML I assume that it will look similar to running the survey in all in one mode. That may be tricky technically, but it would be nice if the export would be "twigged" so one could at least add a custom header/footer for having a logo and the like. | ||||
Steps To Reproduce | Take a survey with some images included and export that one using "Printable survey (HTML)". Then open the HTML file at your browser. | ||||
Tags | No tags attached. | ||||
Bug heat | 0 | ||||
Complete LimeSurvey version number (& build) | 3.17.7+190722 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome | ||||
Database type & version | MySQL 5 | ||||
Server OS (if known) | Windows 10 for opening the HTML file | ||||
Webserver software & version (if known) | Apache 2 | ||||
PHP Version | 7.2 | ||||