copy-paste images from OneNote in Confluence
Asked by Hans Wurst:

Hey everyone,

at the moment we do a big migration from OneNote in Confluence. Now we're facing the issue when we want to copy-paste the old articles from onenote, the images are broken in confluence.

There's just the sign for broken picture and then the text from within the screenshot (I guess that's from the OneNote OCR)

The workaround is to do a screenshot from the old documentation and paste it in confluence.

Is there any possibility to make this a little bit more comfortable?

<br />

Thanks for your help!

Michael


Answers:
author: Joe Presto
body: Hans did you resolve?

I'm doing the same. I can copy individual images from onenote to confluence - but on my computer only, not on any of my other employees' systems.

We're all using Chrome, Win 10, onenote 2016.


author: Dominic Lagger
body: Hi Michael

When you migrate a page, does the page have any attachments?

My first thought was that the picture is only linked and not inserted as an attachment.

Confluence then cannot resolve the link and shows the broken picture.

Can you confirm my thought of the missing attachments?

Regards,

Dominic

comments: author: Hans Wurst
body: Hi Dominic,

thanks for your reply.  

My migration is just a simple copy \& paste into confluence from onenote. :(

I just found a workaround.. Copy the Image and paste it into word. Funny enough, out of word I can copy \& paste it into confluence.. I can't explain this.

And the images in OneNote are inserted as a picture and not linked from any other article or something like that..

I really guess that's because of that OCR stuff in OneNote. But couldn't find a solution so far to bypass that.

Br,  
Michael


author: Dominic Lagger
body: Hi Michael

I just tried to copy from OneNote to Confluence and it worked.

I think, you didn't quite understand my question.

Can you confirm:

1. Add a new page to confluence
2. Set the page title
3. Copy the image from OneNote with CTRL-C
4. Paste the image with CTRL-V
5. Publish the page
6. Question A: Is the picture displayed to you?
7. Go to the attachment site in confluence
   1. Click the three points at the right corner "..."
   2. Click Attachments
8. Question B: Is there a file? Is there the previously pastet image?

Question C: Do you copy the image from OneNote365 online or with the standalone application OneNote?

Thanks for sharing your answers.

Regards,

Dominic


author: Hans Wurst
body: Hi Dominic,

sorry, now I get it.

A: No there is no picture displayed,

![2019-05-29 10_00_47-Window.png](https://community.atlassian.com/t5/image/serverpage/image-id/56007i31BC1D2380BF831B/image-size/large?v=v2&px=999 "2019-05-29 10_00_47-Window.png")

B: No, there is no attachment (german confluence)

![2019-05-29 10_01_39-Window.png](https://community.atlassian.com/t5/image/serverpage/image-id/56008i861C4E538B3EC5EB/image-size/large?v=v2&px=999 "2019-05-29 10_01_39-Window.png")

C: I copy it from the standalone tool, The onenote-notebooks are in Office365, but the tool is standalone.

Sorry for the misunderstanding!

I hope I have everything correct now.

Br,

Michael


author: Dominic Lagger
body: Hi Michael

Okay. That is what I excpected. This type of images are just links to a web URL. Look at my example:

1. I copied an image from google
2. I pasted it on a confluence page

**This is how it looks in the edit mode**

![webimage edit mode.png](https://community.atlassian.com/t5/image/serverpage/image-id/56022i73DE0796DE6D3B1D/image-dimensions/349x137?v=v2 "webimage edit mode.png")

**This is the image properties --\> Web Image** ![webimage properties.png](https://community.atlassian.com/t5/image/serverpage/image-id/56021i765D4627E1C6C0B3/image-dimensions/611x310?v=v2 "webimage properties.png")

And in the View mode, i can see the HTML links to the google web adress:

```
<img class="confluence-embedded-image confluence-external-resource" alt="Bildergebnis f??r images google" height="150" 
src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2f/Google_2015_logo.svg/1200px-Google_2015_logo.svg.png" 
data-image-src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2f/Google_2015_logo.svg/1200px-Google_2015_logo.svg.png">
```

Therefore, if the confluence server doesn't have an internet conection, the picture isn't shown.

This means for your problem, you just copy the web link adress from this picture. You can try to copy the real picture from OneNote somehow (don't know how) or you keep going with your workaround. I would suggest you, to save the picture and upload it with the correct name.

Regards,

Dominic


author: Eric Lee
body: Hi, [@Dominic Lagger](/t5/user/viewprofilepage/user-id/601600) I got the same issue.

/quote

Can you confirm:

1. Add a new page to confluence
2. Set the page title
3. Copy the image from OneNote with CTRL-C
4. Paste the image with CTRL-V
5. Publish the page
6. Question A: Is the picture displayed to you?
7. Go to the attachment site in confluence
   1. Click the three points at the right corner "..."
   2. Click Attachments
8. Question B: Is there a file? Is there the previously pastet image?

Question C: Do you copy the image from OneNote365 online or with the standalone application OneNote?

* QA: Is the picture displayed to you?
* AA: Of course no

* QB: Is there a file? Is there the previously pastet image?
* AB: No

* QC: Do you copy the image from OneNote365 online or with the standalone application OneNote?
* AC: I use the OneNote for Windows 10 (the UWP one)


author: Dominic Lagger
body: Hi [@Eric Lee](/t5/user/viewprofilepage/user-id/715062)

1. Do you also use confluence server or are you using confluence cloud?
2. After step 4 (pasting the image), is something happening?
   1. Do you see the picture in the edit mode?
   2. Do you see an upload pop-up like this one?

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/104385i45ED4943B07D3735/image-dimensions/327x222?v=v2 "image.png")

At the moment, it is very difficult to say why you have the same issue.

Regards, Dominic


author: Eric Lee
body: Hi [@Dominic Lagger](/t5/user/viewprofilepage/user-id/601600)

1. Confluence Server, version 7.6.1
2. I saw the picture in the edit mode, but when I saved the page, all the images were all gone. I didn't see the upload pop-up when I pasted all the content included images.


author: Dominic Lagger
body: So I think you just linked to the onenote picture and didn't "hard copy" the picture itself. Because it was not uploaded, just linked.

--\> Does this also happen when you just copy the image and not all content?

If yes, then unfortunatley I'm not aware how to "hard copy" the picture. The only solution would be to save the picture and upload the image file.


Tags: confluence-server

server