View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
19005Bug reportsExpression Managerpublic2026-11-20 15:46
Reporterblocka Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status resolvedResolutionfixed 
Summary19005: Add special image styling for Survey Logic File
Description

I had a survey where many questions had images that were quite large. When I load the logic file, the images were show full size, making the report unprintable. This happens in LS 3 and LS 5 (and may LS 6)....

As a work around for my own situation, I updated em_manager_helper.php to include inline styling at the top of the logic file output to set a max-width to the images on that page, eg:

<style>img {max-width: 500px;}</style>

I feel this might be helpful for others too.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)All versions of LS3 and LS5
I will donate to the project if issue is resolvedNo
Browser
Database type & versionmySQL 5.x
Server OS (if known)
Webserver software & version (if known)
PHP Version8.1
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2026-11-20 15:46

administrator   ~87830

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=41381

Related Changesets

LimeSurvey: master f4775ba5

2026-11-20 15:46

c_schmitz


Details Diff
Fixed issue 19005: Large images in question texts made the survey logic file too wide to print
Dev Images in the logic file table are now scaled down to the column width and keep their aspect ratio
Affected Issues
19005
mod - assets/styles-public/expressionlogicfile.css Diff File

Issue History

Date Modified Username Field Change
2023-08-02 15:43 blocka New Issue
2023-08-14 19:13 gabrieljenik Project Bug reports => @10@
2026-11-19 22:50 c_schmitz Status new => acknowledged
2026-11-19 22:50 c_schmitz Product Version 5.6.x =>
2026-11-20 15:46 c_schmitz Changeset attached => LimeSurvey master f4775ba5
2026-11-20 15:46 c_schmitz Note Added: 87830
2026-11-20 15:46 c_schmitz Assigned To => c_schmitz
2026-11-20 15:46 c_schmitz Status acknowledged => resolved
2026-11-20 15:46 c_schmitz Resolution open => fixed
2026-11-20 15:46 c_schmitz Bug heat 0 => 2