Billboard as a link

Hello,
 
We would like to use billboards in our project because they are more scalable than custom images, but we would also like to be able to use them as links. As of now this a!save works:
 
 
a!imageField(
  images : a!documentImage(
    document: 1,
    link: a!dynamicLink(
      saveInto: a!save(ri!var, 1)
    )
  )
)
 
 
but this one doesn't (it's not even clickable)
 
 
a!billboardLayout(
  backgroundMedia: a!documentImage(
    document: 1,
    link: a!dynamicLink(
      saveInto: a!save(ri!var, 1)
    )
  )
)
 
 
Basically, image link inside a billboard doesn't work. Is this intended or is this a bug? Is there some other way to make billboards linkable?
Parents
  • Hi Ladislavj,
    In billboard layout you can't link on background image. If you want to display image at the time of clickable on image then you want to use "isThumbnail" option in imagefield() component. can you try below code.
    a!imageField(
    images : a!documentImage(
    document: consIMAGE!DOCUMENTNAME
    ),
    isThumbnail: true()
    )
Reply
  • Hi Ladislavj,
    In billboard layout you can't link on background image. If you want to display image at the time of clickable on image then you want to use "isThumbnail" option in imagefield() component. can you try below code.
    a!imageField(
    images : a!documentImage(
    document: consIMAGE!DOCUMENTNAME
    ),
    isThumbnail: true()
    )
Children
No Data

 Discussion posts and replies are publicly visible