[keycloak-user] customize email themes with images

Jérôme Blanchard jayblanc at gmail.com
Fri Dec 8 05:53:21 EST 2017


Hi,
If your goal is to display a kind of logo or some image in the mail, you
can include it as an embedded  image using
<img  src="data:image/png;base64,.... "/>
It's not perfect as some email clients (like gmail) don't display this kind
of image but it can do the trick before finding a better solution.
BR, Jérôme.

Le ven. 8 déc. 2017 à 10:31, Stian Thorgersen <sthorger at redhat.com> a
écrit :

> I don't think you can do this out of the box today, but you should be able
> to create a custom email sender provider that does it. Look at docs for
> details on creating custom providers (as well as quickstarts on examples).
> Then look at EmailSenderProvider and the implementations in our repo.
>
> On 8 December 2017 at 09:45, Scheinmann, Jonathan <
> jonathan.scheinmann at dxc.com> wrote:
>
> > Hi community,
> >
> > I am looking for a way to add images to custom keycloak email themes. Our
> > company template HTML uses the images sent as attachment. I would
> therefore
> > like to attach the required images to the email. If this is not possible,
> > what would be the correct way to add images to the HTML template?
> >
> > Unfortunately the current documentation does not state anything of it:
> > http://www.keycloak.org/docs/3.3/server_development/topics/themes.html
> >
> > Regards
> > Jonathan
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
> >
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>


More information about the keycloak-user mailing list