Overwriting attached images doesn't work

Hello everyone,

I have a page with 20 images and need to make changes to those images.

I downloaded all the attached images, edited them in an external program and uploaded them again and was expecting that the changed images would automatically replace the old ones, but that is not the case.

When I go to "attached images" and click the images, I can see that they have changed but on the page it still shows the old versions.

Why is that? And what can I do to change that?

Going edit > insert > image is not an option since I also need to change image size and correctly position them on the page.

2 answers

0 vote
Ann Worley Atlassian Team Oct 30, 2017

I wonder if your browser is caching the old images. I just downloaded a .png, rotated it in an image editor, and then uploaded it with the same name. Now it renders on the page as rotated - my edited version. 

Please try with an incognito browser or a browser that hasn't loaded that page before.

I am testing with Confluence Server version 6.4.3, please let me know what you are running - Cloud or Server and server version if you aren't on Cloud.

Thanks Ann for the answer.

I am using Atlassian Confluence 4.3.7, Server.

Did you also try with an image whose size was changed in Edit mode? I was worried that changing the size of the image could create a new file that does not relate to the original file anymore.

If you change an image to a size smaller than 301 pixels the image path changes from
"/download/attachments/{some number}/{file name}" to
"/download/thumbnails/{some number}/{file name}"

Could this cause problems?

I found out what the problem is:

If you copy & paste images to a Confluence page, Confluence automatically renames them to something like "image2017-7-26 14:17:39.png".

And because of the colon in that name, it seems impossible to change and overwrite those images.

  • If I download the images and unzip them, the ":" is changed to "_"
  • If I open such images and I try to change "_" back to ":" I get messages "not allowed", "can't contain any of the following...", etc.

How can I avoid or circumvent this? Anybody have another idea?

Again, all I want to do is, download an image, make changes, upload it again and overwrite the old image...

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 Tuesday 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 ...

400 views 17 9
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