HMTL code to access pictures in library | XM Community
Skip to main content

Hello there,
I am new to qualtrics and I'm supposed to do a study in which we show participants a picture and a message and then let them answer a few questions. However, we wanted to design the page above the questions using html code so that the picture, name and message is exactly where we want it to be. I saw that I can insert html code over the text/graphic question type, however, I can only insert a picture through the library if I select this on the left. But that way, I can't control where exactly on the page the picture is supposed to be shown and it doesn't look the way we want it to. Normally, we would just have this in the html code that designs the page itself, we don't have the final code yet but when I tried to test it out (I used with the file name the same as how the picture is called in the library) it didn't work and just showed an empty square with a ripped picture icon inside.
Am I simply using the wrong html code or is there now way to access pictures that are stored in the library over html? Would it then be possible to store the pictures somewhere else and use an url (but still in the html code that designs the page, not the library function)?
Thanks a lot in advance!

https://community.qualtrics.com/XMcommunity/discussion/23566/hmtl-code-to-access-pictures-in-libraryYou can access the library image via the image URL navigate to the library > graphics library and by clicking on image gear you can copy image URL and use it in Html at src.
Hope it helps!


Thank you so much, this works and should hopefully solve our problems!


Leave a Reply