0

I am finding difficulty to set an image dynamically as a background for the button. I can able to get static image from resource but I could not load in dynamic

2
  • 3
    Hi Murali, you've posted a number of very broad or vague questions. Could you take a moment to read through How to Ask and come back to edit this question by adding what you've tried and including your code and any error messages you're seeing?
    – David Reed
    Jul 5, 2018 at 13:10
  • Can you please post a code snippet? Just your button markup should do. Jul 6, 2018 at 10:57

1 Answer 1

0

You can try using :

<img src="/[namespace]/sfc/servlet.shepherd/version/download/[id]"/>

where id is the content version id(prefix 068).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .