dans l'image html et gif sont définis de la même manière. donc je l'utilise même dans thymeleafL'image Gif ne fonctionne pas dans la page thymeleaf-html?
En thymeleaf l'image définie comme
<img th:attr="[email protected]{${ball.png}} , title=#{background}, alt=#{background}" style="width: 150px; height: 150px;" />
même que l'image GIF défini comme
<img th:attr="[email protected]{${run.gif}} , title=#{background}, alt=#{background}" style="width: 150px; height: 150px;" />
l'image montrera là, mais l'image gif ne montre qu'il
Je ne sais pas pourquoi cela se produit. Si vous connaissez la réponse veuillez partager ici.