In an HTML Component I have the following Image tag:
img src="$URL_PREFIX$MODEL{/Properties/Data/Datum[
@Name='The Expert']/DCR/buscard/smallImage}
It does 99% of what I want.
However when displayed on the LS server, there's an issue.
$URL_PREFIX results in "/"
Browser fields in DCRs start with a "/"
When you combine "/" and "/anything" at the beginning of a src="..." reference (such as img src="//images/mypicture.jpg") some (all?) browsers take the // and assumes what follows is a server reference. The resulting reference becomes
http://images/mypicture.jpg which is not what I want.
Any guess how to get $URL_PREFIX to return "" instead of "/"?