Put a picture or pdf in a multiple choice question?

More
3 years 8 months ago #100519 by Serafim
Serafim created the topic: Put a picture or pdf in a multiple choice question?
Hello everyone,

I want to do a sort of multiple choice question with a picture or .pdf. The tokens will see the picture or pdf and choose one. How can I do that?

Thanks

Please Log in to join the conversation.

More
3 years 8 months ago #100524 by tpartner
tpartner replied the topic: Put a picture or pdf in a multiple choice question?
You can insert the images in the sub-questions.

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: Serafim

Please Log in to join the conversation.

More
3 years 8 months ago #100528 by Serafim
Serafim replied the topic: Put a picture or pdf in a multiple choice question?
Ah, that's a good idea, thanks. And is it possible to insert a pdf file?

Please Log in to join the conversation.

More
3 years 8 months ago #100530 by tpartner
tpartner replied the topic: Put a picture or pdf in a multiple choice question?
Not directly. You can put in links to PDF files but they would have to be opened by the browser in a new window (target="_blank") or a PDF reader.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
3 years 8 months ago #100545 by Serafim
Serafim replied the topic: Put a picture or pdf in a multiple choice question?
I've founs something that works just fine, iframes:

<iframe height="633" src="/limesurvey/upload/surveys/(survey number)/images/you pdf file.pdf" width="701"></iframe>

I upload the pdf file to the survey as a picture and then just insert this code.

Please Log in to join the conversation.

More
3 years 8 months ago #100554 by tpartner
tpartner replied the topic: Put a picture or pdf in a multiple choice question?
Yeah, but be aware that not all browsers have a plug-in/add-on to display PDF files. In those cases the respondents will be asked if they want to save or open the file. If they say "open", it will be opened in their PDF reader, not in the iframe.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now