html - Grails: Trying to display picture but not working -


Hey, I was trying to display a photo via regular HTML

,

& lt; Img src = "../../web-app / images / cargo page" align = "left" />

May be "../../" I am doing something wrong to support the directories, but the last time I checked how this is done

If there is a simpler and better way to do this through groovy, or maybe CSS, I Thanks for the help, thanks

FG

Grails way:

  & lt; Img src = "$ {resource (dir: 'images', file: 'cargo.png')} /" gt;  

Comments