I want to display a image from url path in database, I store it in an attribute:
`
<h2>
{{pokemon.nomPokemon}}
</h2>
<table>
<tr >
<td> Id</td>
<td>Nom </td>
<td> type</td>
</tr>
<tr >
<td> {{pokemon.idPokemon}}</td>
<td> {{pokemon.nomPokemon}}</td>
<td> {{pokemon.typePokemon}}</td>
</tr>
</table>
</div>`
imgPokemon is a String and the other String attributes are displayed. My image is in "assets/img/pika.png" and if I put directly the path it works but not if I put the path in attribute.
Any advice? : )