Why do you have to try multiple times to put an image in a document in Confluence?
Asked by Dawnn Burrell:

There are times when I am placing an image into a document in Confluence and I have to do it multiple times before it is inserted.


Answers:
author: Shannon S
body: Dawnn,

How are you placing the image into the document?

1. Copying and pasting it?
2. Dragging it into your browser?
3. Adding via Confluence attachment macro?

I'd also like to know the following:

1. What version of Confluence are you running?
2. What is your database version?
3. Your JAVA version?
4. Does this occur for all users?
5. On all pages?
6. In all browsers, or only certain ones?

Thank you for your help!

Shannon

comments: author: Dawnn Burrell
body: I am placing the images into the document by copying and pasting.

Please see the answers below regarding the Confluence version, etc.:

Confluence Version: 6.13.0

Database Version: 11.00.5388

Java Version: 1.8.0_192

Our IT Support also gave the following additional information:

Build Number: 7901

Database Drive Name: com.microsoft.sqlserver.jdbc.SQLServerDriver

Currently I am the only one on my Team that is adding new information and updating information in Confluence, so it would be only me at this time.

This happens on all pages.

This happens in all browsers.

I hope this helps.


author: Shannon S
body: Dawnn,

For your database version I'm not really sure which version that is, but by the name of your database driver, it tells me you're using Microsoft SQL Server, and you're on version 2012, does that sound right?

So this only happens when you paste images into Confluence, but not attach them to the page, correct? Can you explain the behavior that happens when you paste the image?

There's a bug where this isn't working properly; it displays the image but the image isn't actually attached to the page. Might this be the problem you're running into?

* [CONFSERVER-28739](https://jira.atlassian.com/browse/CONFSERVER-28739) *copy and pasting web images will not attach the image to the page*

As a workaround for this, you can save the file to your computer and [attach it to the page using the Insert menu](https://confluence.atlassian.com/doc/upload-files-139513.html).

Regards,

Shannon


author: Dawnn Burrell
body: My IT Support Team said our Version is 2012.

Yes, when I paste an image into Confluence it takes multiple times for the image to appear. These images (snapshots) I am pasting are from the documents that I am placing in Confluence. These images (snapshots) aren't saved anywhere on my computer other than within the document.

When I try to paste the entire document (which includes the image (snapshot) the wording appears, but the images (snapshots) don't. There is a huge gap where the images (snapshots) are supposed to appear.

When the images (snapshots) don't appear, I copy them from the original document and paste them where they are supposed to appear, but it takes multiple times for them to appear. Every time I paste the Images (snapshots), the cursor indents to the right.

Once the images (snapshots) appears, then they are automatically stored in the image folder.

I read the CONSERVER-28739 information. The workaround solution doesn't work for me because these images (snapshots) aren't individually saved on my computer.

I hope this information helps.


author: Shannon S
body: Dawnn,

Thank you for confirming your version, and describing the behavior.

1. The workaround mentioned on the bug ticket I linked above is to paste the image into Paint, and then copy and paste it again in Confluence. This does not require the image to be saved to your computer.
2. The 2nd workaround I mentioned is to physically download the image to your computer, and attach it to Confluence using the **Insert** menu, rather than pasting.
   * You let me know this wasn't possible because the image isn't saved on your computer, however that workaround doesn't require the image to initially be saved locally.
   * Is there some reason you're not able to download the image from the original document?

In that case, I would try the workaround from the bug, by pasting into and copying from Paint.

Let me know if you have any trouble.

Regards,

Shannon


author: Dawnn Burrell
body: Hi Shannon:

Thanks for the above clarity and information. I pasted the images in Paint and then copied and pasted them into my document in Confluence and it worked.

Thanks so much again.


author: Shannon S
body: Hi Dawnn,

Happy to help! I'm happy to hear that the workaround works for you.

Take care, and have a pleasant rest of your week.

Regards,

Shannon


author: Dawnn Burrell
body: Thank you and you have a pleasant rest of the week as well.

Dawnn