Embedding images in OpenOffice text documents

Whenever I copy and paste some content (text with images) from a web page into a OpenOffice text file (.odt), I notice that the OpenOffice writer application doesn’t respond for few seconds. I understand that it takes time to fetch/load/render the images that are part of the copied content in the document and it’s the same with other office applications like MS Word.

But what I find really frustrating is that having done so (copy+paste+save), it still tries to access the images online everytime I scroll through the document. As a result of which the OpenOffice writer application becomes slow and does not respond for few seconds. Moreover, the images don’t get displayed and I get a “Read-Error”, if I open the document when I’m not connected to the Internet.

The problem in the above case is that OpenOffice stores only the “link” to the online image and not the image itself. So everytime you open the document, the text content gets loaded and the application tries to access the image resource online.

(Select an image, right-click and select Picture to see the link details.)

Now, this is bound to put off any avid MS Word user as the behaviour they are used to is that images get embedded as part of the document itself.

Well after hours of tweaking here and there, I found out that OpenOffice actually allows both linking as well as embedding images in a text document, the former being the default behaviour. So, if you have a document that works with images as links to online resources and you would like to embed them instead, just do the following:

(Go to the menubar and select Edit -> Links)
The “Edit Links” Dialog gets displayed that shows all the links (mostly images/graphics) in the current document.

Now select the links to the images you want to embed and click the “Break Link” button.

To check if the images are embedded parts of the document and not links.
(Select an image, right-click and select Picture)

21 thoughts on “Embedding images in OpenOffice text documents

  1. Oke tnx. but is it also possible to embed by default? I like to drag and drop pictures from a folder right away.
    MS has the option to compress pictures in a document. So if you insert a 10MP picture and resize is to 2x2cm it wont take 6MB anymore. Ofcourese you cant blow it op again later. but hey it is just for school.

  2. This seems to be different in OpenOffice.org version 2.4. The graphics option in an image’s context-menu doesn’t exist anymore. Instead, active menu item Edit->Links, and break the links you want to include in the document.

  3. Thanks for this hint. I couldn’t find this is the documentation anywhere. I’d really like to have it embed by default, as not embedding is a problem when you email documents. I think Word by default embeds, but keeps a link to the original image in case you want to update it.

  4. ever since i downloaded opwnoffice, whenever 1 send a document to my friends, they say that they’re unable to open it. it’s frustrating. i don’t want them to have to go through unecessary clicks and openings. help me please.

  5. Thank you very, very much for this tip.
    This is really VERY helpful. I have to send a lot of documents to people using MS-Word and it drove me mad not to be able to embed the pictures.

  6. Thanks!
    In my case I imported html document with images. This solved described problem with images in document on another machine.
    BTW, in M$ Word, I wrote VB script to embed images (few years ago. it might be solved in recent version 😀 ).

  7. Thank you so much for your help. My girlfriend and I have been preparing a "powerpoint" presentation for hours now and completely lost. Thanks for saving our grades.

Leave a reply to Willem van Engen Cancel reply