From 16dddfa49cc6a85d9daebb5c9a76496705bb1734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Martins?= <100281657+KevinMartinsDevUbi@users.noreply.github.com> Date: Wed, 10 Jan 2024 22:08:04 +0100 Subject: [PATCH] Complete the documentation for the use case of a resource from an email template. (#25705) Signed-off-by: Kevin MARTINS --- .../server_development/topics/themes.adoc | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/documentation/server_development/topics/themes.adoc b/docs/documentation/server_development/topics/themes.adoc index 2ffbe6ea66..d774b32b2e 100755 --- a/docs/documentation/server_development/topics/themes.adoc +++ b/docs/documentation/server_development/topics/themes.adoc @@ -238,7 +238,20 @@ Or to use directly in HTML templates add the following to a custom HTML template [source,html] ---- - +My image description +---- + +==== Adding an image to a email theme + +To make images available to the theme add them to the `/email/resources/img` directory of your theme. These can be used from within directly in HTML templates. + +For example to add an image to the `mytheme` copy an image to `themes/mytheme/email/resources/img/logo.jpg`. + +To use directly in HTML templates add the following to a custom HTML template: + +[source,html] +---- +My image description ---- ==== Messages