- Posts: 18
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Use images rather than text answer options
- Helenmd
- Topic Author
- Offline
- New Member
Less
More
7 years 6 months ago #142275
by Helenmd
Use images rather than text answer options was created by Helenmd
Hi,
We have just (finally!) upgraded to 2.50+ (build 160718) and one of the things I'd like to be able to do is allow the use of images in a question type, for example, select any 3 that you feel do not belong to this group.
Is this possible? I know I can do it with multiple choice/lists etc using text, but I'd like to use an image instead of the text/
We have just (finally!) upgraded to 2.50+ (build 160718) and one of the things I'd like to be able to do is allow the use of images in a question type, for example, select any 3 that you feel do not belong to this group.
Is this possible? I know I can do it with multiple choice/lists etc using text, but I'd like to use an image instead of the text/
The topic has been locked.
- Deusdeorum
- Offline
- Senior Member
Less
More
- Posts: 72
- Thank you received: 17
7 years 6 months ago #142277
by Deusdeorum
Replied by Deusdeorum on topic Use images rather than text answer options
If I understand you correctly you just want to substitute the answer text for example in a multiple choice question to a image. You could place something like this in the answer box <img alt="" src="/path/to/the/picture" style="height: 150px"/>. If you upload a picture to your survey through the question text menu you can easily get the /path/to/the/picture from there
The following user(s) said Thank You: Helenmd
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3591
7 years 6 months ago #142281
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Use images rather than text answer options
To expand a bit on Deusdeorum's answer a bit...I also insert a hidden span element with the answer text so you can see that in the exported data.
Code:
<span style="display: none;">Option 1</span> <img alt="" src="/path/to/picture-1.png" />
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: Helenmd
The topic has been locked.
- Helenmd
- Topic Author
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 1
7 years 6 months ago #143018
by Helenmd
Replied by Helenmd on topic Use images rather than text answer options
Thank you very much both, it's much appreciated and exactly what I was looking for.
Helen
Helen
The topic has been locked.