Optionally, you could make a new function called ImagePath() on your class and use $ImagePath in the template, instead. This would automatically find the relative path, like assets/images/$URLSegment, so you just need to insert <img src="$ImagePath" alt="My image" /> - this avoids the problem of having curly braces in your nice templates. :-)