Picture of Sébastien Bonte
add picture in feedback question
by Sébastien Bonte - Tuesday, 12 August 2014, 6:28 PM
 

Hi,

i want to insert picture in feedback. I try to put an image directly on the feedback component, but I just manage to obtain an [object object] at the picture's place.

I understand that I need to use tutor, but how? I have explored the files and i didn't see which one i need to change and where and how...

Someone can help me? I just want to know how to add image on questions's feedback.

 

Thanks for anyhelp!

Picture of Gavin Nelson
Re: add picture in feedback question
by Gavin Nelson - Friday, 15 August 2014, 2:27 PM
 

do you want to put the image on every feedback popup or just add an image to a specific feedback message.

either way you will need to create a HTML image tag eg <img src="http://img4.wikia.nocookie.net/__cb20101002110826/callofduty/images/e/e8/Vault-Boy-yay.jpg" alt="thumbs up" title="thumbs up" />

If you want the image to appear on all tutor popups, then you will need to add the html for the image to the tutor template which is located at src/extensions/adapt-contrib-tutor/templates/tutor.hbs

otherwise you will need to add the html for the image to the feedback message