<img src="${url.resourcesPath}/images/logo.png" />
Problem: Above code path is working in template.ftl
but same thing not working in email template.
In email template we have try with various options but baseUrl
and rootUrl
also not coming there.
if you have the next image path:
\themes\as2theme\login\resources\img\test.png
you can refer it from an image tag like this
<img src="${url.resourcesPath}/img/test.png"/>
also you can see this post: https://codehumsafar.wordpress.com/2018/09/21/keycloak-add-image-in-custom-theme/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With