I was trying to load image dynamically using:
<g:img src="${resource(dir:'images/products', file:product?.photo)}" alt="" />
but it gives some thing like this in out put
<img src="/static/images" src="/static/images/products/2017-02-05 16:46:32.599.jpg" alt="" />
Aucun commentaire:
Enregistrer un commentaire