Question

The goal is quite simple – I'm looking for a way to display an image in a webform. By that I mean the image would part of the webform as a complement to a question (example: "what color is the car in this picture").

If possible it'd be great if the user could to upload the images when administrating the webform elements, and also if they were their own element that would be awesome (but even adding them to the descriptions of the question-elements themselves could work as well).

So basically, how can I setup a "display custom image in the webform"-element?

I've tried searching for a solution but all my results are about how to add an image upload field, which is quite the opposite of what I'm looking for.

Grateful for any help I could get on this.

Was it helpful?

Solution

If you install the IMCE module and set up the right permissions, users can upload and insert images into a webform.

Another option is to change the Webform module's default HTML Editor to use a Text format which supports inline images. You would do this by going to Webform > Configuration > Elements ( (/admin/structure/webform/config/elements)

Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top