jsrender img src concatenation



  • Hi,

    We want to insert images to a report and the src-url depends on a data value. But we don't now how to concatenate url plus variable ...

    <img src='http://somewhat.com/{{:variable}}.jpg'>
    

    We are using jsrender. Do we have to add plus signs or something like that to get it right?



  • Hold on. That's already the right syntax ...


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.