in reply to using HTML img tag in Dancer2

Do you really want an image with url("/images/dragon.jpg") as its URL?

Maybe you wanted to interpolate some url() function into the string?