- Posts: 73
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Assessment - Using images for answers
- arunicbe
- Topic Author
- Offline
- Senior Member
Less
More
8 years 9 months ago #121043
by arunicbe
Assessment - Using images for answers was created by arunicbe
Attachments:
The topic has been locked.
- aesteban
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 41
- Thank you received: 14
8 years 9 months ago #121076
by aesteban
Replied by aesteban on topic Assessment - Using images for answers
I think responses are sanitize even if they are introduced by survey admin. A workaround could be showing images in question text (it works, use HTML tag "img") and referencing them with numbers in responses.
The topic has been locked.
- arunicbe
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 73
- Thank you received: 0
8 years 9 months ago #121083
by arunicbe
Replied by arunicbe on topic Assessment - Using images for answers
I includex html img tags in the answer text. It shows images perfectly. Now, the problem is it is also displaying the radio button (circle).
It would be nice if the circle is hidden and shows image only.
It would be nice if the circle is hidden and shows image only.
The topic has been locked.
- penguintrax
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
8 years 1 month ago #130270
by penguintrax
Replied by penguintrax on topic Assessment - Using images for answers
For image-based answers, I display the image thumbnail, which is clickable into a new window, and also includes descriptive text, like so:
It would be very nice, however, to have image-based answers as a default answer type, with the ability to load a thumbnail, and description. I think it would be a lot less clunky.
Code:
<a href="path to image" onclick="window.open(this.href, '','resizable=no,status=no,location=no,toolbar=no,menubar=no,fullscreen=no,scrollbars=no,dependent=no,width=800,left=500,height=800,top=100'); return false;"><img alt="" src="hpath to image" style="height: 150px;" title="Close the window to return to the gallery page." /></a><h3>Image #659</h3><strong>Description</strong><br/><br/>Descriptive text using breaks instead of paragraph formatting.
It would be very nice, however, to have image-based answers as a default answer type, with the ability to load a thumbnail, and description. I think it would be a lot less clunky.
Attachments:
The topic has been locked.