Welcome to the LimeSurvey Community Forum

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

insert image into question

  • wilverley
  • wilverley's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 4 weeks 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
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 4 weeks ago - 9 years 4 weeks ago #127261 by tpartner
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.
Last edit: 9 years 4 weeks ago by tpartner.
The topic has been locked.
  • wilverley
  • wilverley's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 4 weeks 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
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 4 weeks ago #127269 by tpartner
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):
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.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose