Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

I had this too. Obviously I had dragged and dropped my originals when I first wrote the page. When I changed them and updated the page it was fine in the edit view, but when I published it _always_ reverted to the original.

I had to delete the originals, publish, change the file names on my local disk, re-upload the new with the 'insert image' button and choose the files with the new names, publish and it then worked.

Thanks Steffen for the hint. No thanks Atlassian for no fix on this in nearly 4 years. About right for your software quality.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Introducing External Collaboration for Confluence

We’re excited to introduce external collaboration for Confluence, now available in early access. It is available to preview for Confluence Cloud Premium and Enterprise customers. (If you're not on ...

199 views 0 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you