external choice image

67
3
03-16-2023 10:13 AM
stormec
New Contributor II

Hi,

I am continuing to develop my survey. It would be nice to incorporate as images or (pdf files) associated with a selection made.

A linked csv file provides information associated with available choices via pulldata function.

I would like to know options and examples of how to accomplish this, if possible.

I tried moving a file to AGOL and coping url into csv. Did not work.

Thanks, in advance.

0 Kudos
3 Replies
DougBrowning
MVP Honored Contributor

You can do it.  Just add a image column to the csv then the name of the image that it is in the media folder.

DougBrowning_0-1678991033145.png

I think this is what you mean.

 

0 Kudos
stormec
New Contributor II

Thanks @DougBrowning 
What should the question type be?
With your example above, what would the code look like?

 

0 Kudos
DougBrowning
MVP Honored Contributor

Just a standard select one.  The images will be next to the choice and you can tap them to make them bigger.  No special code it just uses the image column if it has it.

DougBrowning_1-1679319087159.png

 

Works on select multiple also

DougBrowning_0-1679319074068.png

Just try it, it is easy.

0 Kudos