Issue: readers inadvertently create duplicate copies of attached images
Asked by Stan Ry:

Hi there,

We are seeing a strange issue with our 6.x server instance of Confluence.

Every now and then we see users are creating duplicate images on pages that have illustrations added on them. These are supposed to be ordinar readers not editors. Unfortunately, these users themselves have to clue on what on Earth has caused the dupes to appear on the page.

For example, here is a sample illustration existing on the page:

![Duplicate.Images.jpg](/t5/image/serverpage/image-id/42157iC1AF892BC9724EDA/image-size/large?v=v2&px=999 "Duplicate.Images.jpg")

If we look into page attachments we'll find a copy of that image added to the attachments on this original page:

![Duplicate.Images1.jpg](/t5/image/serverpage/image-id/42159i66B1CAAC8CA9F504/image-size/large?v=v2&px=999 "Duplicate.Images1.jpg")

Note the index added to the image file name -- \[1\]. This *image2018-11-16_20_29-16\[1\].png* file is a copy of the original illustration that existed on the page.

**Does anyone have any clue on what could cause this?**

Thank you.


Answers:
author: Stan Ry
body: [@Shannon S](/t5/user/viewprofilepage/user-id/510046)

Hi Shannon,

Thanks for the response! Ah, that's me being in rush. )) Should be read as: pages with illustrations on them. I mean, if there's an existing illustration on a page, for some unknown reason duplicate copies of image files for these illustrations appear on the page every now an then.

\>I assume from your description you have a page in Confluence with ordinary images attached to the page, and then at some point a user edits the page, and the image is duplicated

Yeah, these pages have images attached to them. These images are used as illustrations on these pages. These are the images we manually attach to the pages to insert them as illustrations on these pages.

We don't know if the users were editing the pages, but we assume they were. Looks like it goes like this:

1. We have a page with illustrations and hence with attached images.
2. This page is opened for both editing and viewing.
3. Some user may open this page for editing without any intent to mess with attachments.
4. It is maybe they alter some text but no more to it.
5. After they save changes, in some cases, a duplicate image is added to this page.

A mystery ))

If you have some ideas on how to track the root cause down, please share them with me.

Stan.

comments: author: Shannon S
body: Hi Stan,

My apologies for the delay.

I have investigated this, and I have not personally seen attachments on a page being duplicated when a user edits the page. I was also not able to find any further examples of this.

As for your screenshot examples, I am not able to tell exactly what problem you're referring to. Would you be able to have someone replicate this with images that you are safe to share so I can see the specific problem?

We'd need you to get the exact workflow from a user that has the duplicate image problem, and confirm they are not using any 3rd party add-ons when the issue occurs.

That can include which browser it happens in, and if they're copying/pasting anything or dragging images onto a page.

Thank you for your help!


author: Shannon S
body: Stan,

Can you let me know what you mean when you say the images have illustrations added on them?

I assume from your description you have a page in Confluence with ordinary images attached to the page, and then at some point a user edits the page, and the image is duplicated. What I don't know is if your images are being generated by an add-on or some sort, or if it's with all images you attach to a page?

Regards,

Shannon


Tags: confluence-server

duplicate

image

server