how to use the same images on different pages

Hello,

is there any possibility to attach one image and use it on different pages?

2 answers

Yes, by creating a html tag and reference the src to the location of the image:

{html}
<img src="https://your.confluence.address/confluence/download/attachments/28910447/image2015-9-29.png?version=1&modificationDate=1443528236000&api=v2">
{html}

This requires Bob Swift html add-on.

Or do it correctly and use the built-in function as Steffen says. To use the html tags, you have to enable a potentially dangerous set of macros. There's no need to mess around with them, images from other pages/spaces is supported natively and safely.

Hi,

that is a standard function and works just as you described it: You attach the image to one page and use it on multiple others.

Technically, you must extend the image path by adding the name of the page where the image is.

But confluence allows you do that automatically. Just add the image as always and then use the search tab to find and include images from other pages and spaces.

There are lots of descriptions for this depending on your version.

Here is the description from https://confluence.atlassian.com/conf56/confluence-user-s-guide/creating-content/using-the-editor/displaying-images as an example:

Inserting an image attached to a different page

You can display an image that is attached to a different page of the same Confluence site, if you know the name of the image. 

To display an image attached to a different page:

  1. Go to Insert > Files and Images and choose the Search on other pages.
  2. Enter the name of the image.
  3. Choose whether to search the current space or All Spaces and choose Search.
  4. Select the required image from the search results and choose Insert.

Alternatively, you can cut and paste the image from another page (the image will still be attached to the original page).

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

914 views 23 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you