Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to link to often used images without uploading them on every single page?

Christiane K_
Contributor
March 27, 2025

We have a lot of pages with the same image (logo of a customer, screenshots etc.)

How do I  incorporate them on my < 100 pages without uploading them on every single page? 

When changing the logo, I could change it on 1 single instance on the server version / old editor without uploading it again on < 100 pages?

3 answers

1 vote
Roma Bubyakin _Wombats Corp_
Contributor
March 28, 2025

Hello @Christiane K_ 

You can give a try to our app for creating custom macros:
User Macro for Confluence Cloud

I have created an example for your use case: Logo Library

You can set up all images and manage them in one space.
While adding to page editors will chose the logo and may setup size of each.

If you update URL in the macro, all pages will be updated instantly!

This is how it looks on the edit page view:

 Logo_library__confluence_macro_example.png

P.S. If you need help with that, just let me know

Regards,
Roman Wombats Corp

Christiane K_
Contributor
April 4, 2025

Thank you very much, but paying 400USD for what used to be standard in Confluence is too much.

 

The functionality should be a MUST HAVE in Confluence , just to reduce the use of  attachments to save saving costs (CO2 in the data center)

 

So I looks very nice, but we cannot use it

 

Roma Bubyakin _Wombats Corp_
Contributor
April 7, 2025

I'm totally with you on it! To be honest, even User Macro functionality MUST BE in Confluence...nevertheless, we are where we are. That's why our app exists.

Just showing that the image duplication issue is solvable.

Thank you for the real case example, as we continuously extend the User Macro Library with such examples.

Stay safe, Roman

Christiane K_
Contributor
April 9, 2025

Hi Roma,

the other use case why this library would not be so helpfull is following:

for a Technical User Manual you need a lot of screenshots of your software, some are used multiple times such as menubar, accept button etc. But others are only used once.
So it is very helpful to have the linked pictured because you only update your screenshot once and it will be updated on all different places, without the need to search them all.

 

Greetings Christiane

 

Roma Bubyakin _Wombats Corp_
Contributor
April 10, 2025

Ok, I got it.

Having additional information, I have created another macro: Image from Attachments

This one gets an input full image name and (optional) sizing.

Shows inline image from the attached file (instance-wide search).

Features:
 * Direct URL to the attached file: no duplicated files.
 * Instance-wide search: attachments visibility not limited to the page or space.
 * Error handling for wrong filenames: accept only PNG, JPEG, and GIF.
 * Updating the file updates it on all pages: most recent version of the file rendered.
 * Inline and sizing: provides the possibility to adopt images to the content and view on each place.

Step 1 — Add image to the page
1_Add_image_to_the_page.png

Step 2 — View the page with image with the height of 100px
0_wallpaper_on_the_confluence_page.png

Step 3 — Update the image
Befor:
2_Image_in_the_attachment_list.png
After:
3_Updated_image_in_the_attachment_list.png

Step 4 — Reload the documentation page with a new image
4_Updated_image_on_the_page.png

I hope now it got closer to your request 😊

Regards, Roman

0 votes
Barbara Szczesniak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 27, 2025

@Christiane K_ You could create Excerpts for each image (in a single page or multiple pages for organization purposes) and then use the Excerpt Include macro where you want those images to appear.

Pro: when you need to change the image, you do it in the Excerpt, and it is modified everywhere.

Con: the image is inserted as its own paragraph with spacing around it; you cannot use it as an inline image. EDIT: I just noticed on the Insert the Excerpt Macro page that there is a parameter to specify whether the Excerpt should be inserted Inline or on its own line (Block), so maybe this con does not apply.

See:

Christiane K_
Contributor
March 27, 2025

this could work for customer logo but not for a user manual, where screenshots are used on several different places. This will be very complicate.

I mean, it used to work in the legacy editor without problems!! It is such a downgrading

Barbara Szczesniak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 4, 2025

@Christiane K_ This is the Jira issue related to reusing attachments that you can vote on, watch, and post your comments to: https://jira.atlassian.com/browse/CONFCLOUD-65344 

It was created >6 years ago, but the status is now Under Consideration. 🙃

Christiane K_
Contributor
April 10, 2025

Thank you very much for this hint, even if I fear that voting for issues doesn't count a lot at Atlassian. Do many count and never something happend .

Greetings Christiane

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 27, 2025

HI @Christiane K_ 

You could use a template to create pages.

But on existing pages, this is manual. There is no option to use a template and change this template that all pages based on the template are updated.

Christiane K_
Contributor
March 27, 2025

this is not an option, as I want a Customer Logo to be shown on every page. Or as I want to make a User Manual where some pngs are shown on several pages.

 

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 28, 2025

Hi @Christiane K_ 

You can use excerpts as mentioned.

But ootb, this is not possible in Confluence.

You might want see the marketplace for options

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events