Would it be possible to be able to use the MailAttachmentsManager.getImageUrl in Velocity Templates parsed by JETI, to get inline images, instead of packing the whole base64 string into the img src string?
I tried using the same line as in the footer.vm (used by normal Jira mail) and the result in the JETI mail was that the link was made into an external link (which should be the result if getImageUrl fails, according to its doc).
<img id="footer-pattern-logo-desktop" src="$attachmentsManager.getImageUrl("/images/mail/footer-desktop-logo.png")" alt="Atlassian logo" title="Atlassian logo" width="169" height="36" class="image_fix" />
When I instead use <img src="data:image(png:base64,....">, I get the image, but the Velocity template is much less obvious and much more cluttered; it's very much not obvious what image is actually added.
I might of course have missed something in how I added the link, or what the path should be; if I have, please tell me.
(I use Velocity files saved on the server, to be able to include the same parts in several different email templates, if that makes any difference.)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.