Image from Attachments — Confluence Cloud Macro
This user macro displays an image from Confluence attachments using a filename reference. It supports optional height and width settings and validates allowed formats (PNG, JPG, GIF). If the file exists, it renders the image via <ac:image> with its latest download link, keeping visuals updated. It shows warnings if the file is missing or invalid. Ideal for shared assets like logos or UI screenshots—update once, reflect everywhere automatically.
You May Also Like
Show all attachments from the current space in a sortable table view
Display Confluence page edit and view restrictions to provide essential permission details, including users, groups, and inherited access
Display the top comments from a selected Confluence page, or from the current page by default
Retrieve and display all page content properties in an AUI sortable table
Display Jira issue comments in a table
Perform text searches within pages, blog posts, and attachments
Allow users to retrieve all pages from the current space despite the 250-page limit per request
Display an overview of all pages in a space, including title, version, and last updated date
Show an expandable page tree for a selected parent page, defaulting to the current page
Read and display the fixed version of Confluence pages by checking page or ancestor labels

