Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Having text under images when using Image select multiple choice

More
2 hours 51 minutes ago - 2 hours 39 minutes ago #274397 by superuser_does
Please help us help you and fill where relevant:
Your LimeSurvey version: 7.0.0 RC1 (though this is mis-reported on the dashboard as LimeSurvey Community Edition Version 6.17.1)
Own server or LimeSurvey hosting: Own server
Survey theme/template: Fruity Twenty Three
==================

The example for "Image select multiple choice" suggests you can have a label under the image:
 

In my own testing though, it seems LimeSurvey is taking the value of a subquestion and injecting it into the src attribute of img. As such, I cannot put a label after it or it breaks the image.
This is the kind of HTML output it creates:
Code:
<label for="answer534471X174X647REDACTED" class="imageselect-label" onclick="cancelBubbleThis(event); checkconditions(this.value, this.name, this.type)" style="pointer-events: none;">
 
         <img class="unforce-height" src="&amp;lt;img alt=&amp;quot;&amp;quot; src=&amp;quot;/upload/surveys/534471/images/logos/REDACTED_logo.svg&amp;quot; /&amp;gt;&amp;lt;br /&amp;gt;REDACTED" style="             height: 200px
            ">
        </label>
It has put in all the text of the subquestion into src, but escaped.

How can I put text under my multiple images please, while presenting them in a grid?
Last edit: 2 hours 39 minutes ago by superuser_does. Reason: formatting

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose