Piped text of an image by using embedded data by using randomization | XM Community
Skip to main content
Question

Piped text of an image by using embedded data by using randomization


Forum|alt.badge.img

So, I have a field to show a random image, but I only see the url. What can be a possible solution. Using html does not work. Still only image. With html, also shows only the image url. 

Below I show the two steps and the result.

What can be a sollution guys?

 

Step 1:

 

Step 2:

 

Result: 

 

2 replies

Forum|alt.badge.img+1

Hi Bobcar,

I have only part of the solution.

You can show the picture using html.

 

<img src="${e://Field/Picture_Link1}">

 

If you want to show different pictures, you need for each URL a different embedded field. 

What I do not know is how you can randomize which picture is displayed.


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5909 replies
  • March 13, 2025

@bobkar1994,

Your randomization is wrong. You need to put each assignment in a separate embedded data block, then randomly present 1 of 4.  The way it is now, you always see the last image assigned.


Leave a Reply