Use embedded data to retrieve images from the library | XM Community
Skip to main content

Hi guys,

I have uploaded 3 sets of 6 pictures to the library. I want to have 3 blocks of 6 questions each. Each question has one picture. The questions in each block are the same but the pictures should be different. I thought I could create only one block and use embedded data to modify the links to images (e.g, /block_1_image_1.png). The problem is that the links in the library are completely meaningless (no file name included)! A dummy solution would be to create all 3 blocks manually. Another, to upload graphics to the web, but I don't want to do that. Could you tell me if there is another solution to my problem?

Thanks!

@Eithne 

You can use the embedded data approach, you can use below format to add image within embedded data and pipe them.

embedded data = <img src="Image link from Library" style="width: 99px; height: 111px;" />

Hope it helps!


Thank you! I just thought I could avoid storing links as embedded data, but rather to use block numbers which are stored already. But this seems not to be the case :(


Leave a Reply