gbiffrance / gbiffrance-hub

Generic hub template grails app
http://ala-demo.gbif.org/generic-hub
0 stars 3 forks source link

Images in /grails-app/views/layouts/alf.gsp #50

Open JeGoi opened 7 years ago

JeGoi commented 7 years ago

Pour appeler les images dans le fichier, tu peux utiliser : ${resource(dir: "images/", file: "ala-white.png")} ce qui donne ça: <img src="${resource(dir: "images/", file: "ala-white.png")}" class="img-responsive center-block" alt="Atlas of Living Australia"> Cela a fonctionné pour moi en local et sur la démo. Tu devrais ensuite pouvoir simplifier le fichier ApplicationResources.groovy