Hi developers, i have a macro with rich text body in which i inserted an image but it’s not shown in Confluence Page !!
i got html code like this :
<p><ac:image ac:height="250"><ri:attachment ri:filename="ss.PNG" ri:version-at-save="1"></ri:attachment></ac:image></p>
Any help plz and thnx.
Regards.
A dynamic or static macro? In a dynamic macro (iframe) you have to output HTML not Confluence storage format. Your code is storage format.
1 Like
Then you know the reason. Output HTML and you should be fine.
Dear @samersboui2016,
you can either use a Confluence REST call to convert your storage snippet to view (HTML) or you have to return your image in a HTML img-tag.
Kind regards
Andreas
2 Likes