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

Use embedded data to retrieve images from the library

  • June 13, 2023
  • 2 replies
  • 401 views

Forum|alt.badge.img+2

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!

2 replies

Deepak
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+46
  • 1555 replies
  • June 13, 2023

@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!


Forum|alt.badge.img+2
  • Author
  • 1 reply
  • June 13, 2023

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 :(