Using field codes with lightbox? | XM Community
Question

Using field codes with lightbox?

  • 6 December 2019
  • 1 reply
  • 46 views

Badge +1
Hi, I'd like to use embedded data field codes within lightbox code. Is this possible? Something like the following, where the field code references an image (which is currently broken - when executed it displays the thumbnail image, but is not clickable to enlarge):

<td style="text-align: center; vertical-align: top;">${e://Field/ANGELAS%20COLLECTION} rel="lightbox" style="text-align: center;" target="_parent" title=""><img alt="" height="508" src=${e://Field/ANGELAS%20COLLECTION} style="width: 398px; height: 762px;" width="398" /</td>

1 reply

Userlevel 3
Badge +2
yes, you might need double quote around embedded data, like the following: "${e://Field/ANGELAS%20COLLECTION}"

Leave a Reply