Just some notes, for now it was implemented in a custom PDF template so to the "Export tools template" need to be selected as the export template. And for now this work only on PDF export. Office and HTML export don't take into account this macro for now.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.