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 votes
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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,338 views 2 13
Read article

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