- Posts: 33
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
insert image into question
- wilverley
- Topic Author
- Offline
- Junior Member
Less
More
8 years 5 months ago #127256
by wilverley
insert image into question was created by wilverley
Can anyone suggest a way to insert an image into a question. for example
what type of vehicle do you have access to
(picture of a car) Car yes/no
(picture of a van) Van yes/no
(picture of a motorcycle) Motorcycle yes/no
what type of vehicle do you have access to
(picture of a car) Car yes/no
(picture of a van) Van yes/no
(picture of a motorcycle) Motorcycle yes/no
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
8 years 5 months ago - 8 years 5 months ago #127261
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 insert image into question
You can either insert it directly with HTML in the answer/sub-question field or click on the pencil to open an editor.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
Last edit: 8 years 5 months ago by tpartner.
The topic has been locked.
- wilverley
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 33
- Thank you received: 0
8 years 5 months ago #127267
by wilverley
Replied by wilverley on topic insert image into question
Ahh ok so do I store the images with all the others? If so how do I point the HTML to where they are stored. Sorry if sounds a bit of a dummy question but I am still learning.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
8 years 5 months ago #127269
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 insert image into question
The images should be in /limeSurveyRoot/upload/surveys/[Survey ID]/images/.
So, the HTML would be something like this (where 123456 is the survey ID):
If you use the editor, you can upload the images through the "Image" tool.
So, the HTML would be something like this (where 123456 is the survey ID):
Code:
<img alt="" src="/limesurvey/upload/surveys/123456/images/image_1.jpg" />
If you use the editor, you can upload the images through the "Image" tool.
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: wilverley
The topic has been locked.