Welcome to the LimeSurvey Community Forum

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

Images not showing as answer options (radio button - image select)

  • sfreytag
  • sfreytag's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 9 months ago - 2 years 9 months ago #217691 by sfreytag
Hello,
I wanted to display images as answer options. Unfortunately, it does not work. Edit: version: LimeSurvey Community Edition
Version 3.27.3+210615

Here is what I did:

* created a new question with the Radio Button answer type, subtype image_select
* uploaded the pictures to the server
* selected each picture via the editor as an answer option

The result is either getting a broken image icon or nothing (depending on the Browser). I tried changing the pre-set text to just the path, as recommended here but it also did not work.

Here is what I wrote (following the other thread, pre-set (<img alt="image here" src="/lsurvey3/upload/surveys/545941/images/arab1.png" style="width: 200px;" />;) did not work either):

 


What is shown:

 

And as a test in Chrome also the broken image icon:
 

There are also random messages that I am lacking the right to access the server, but from the permission side, we tested it and gave me Admin rights and there were still some denials of access.

 

This is however, random - it always works for the first answer option, the others have a 25-50% chance of me being able to access the server and select an image or not. I always eventually am able to access the server and pick an image. It doesn't show, as described above, though.

Does anyone have any ideas and could help? Thank you for reading.
Last edit: 2 years 9 months ago by sfreytag.
The topic has been locked.
  • sfreytag
  • sfreytag's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 9 months ago #217692 by sfreytag
Forgot to add - here is the version: LimeSurvey Community Edition
Version 3.27.3+210615

Thanks!
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 9 months ago #217694 by tpartner
What is the broken path to the image when you explore it with the browser developer tool (F12)?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 9 months ago #217697 by holch
The path of the image can not be accessed, I get a ERROR 500 from your server when trying to open the image:

survey.mms.tu-berlin.de/lsurvey3/upload/...941/images/arab1.png

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 9 months ago #217700 by DenisChenu
Can not really be related to LimeSurvey : seems to be related to server ?

What server type ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose