Inserting an image from a file

When the image is available in a file stored on the computer, you can immediately insert it into the Writer document. Writer can import various vector (line drawing) and raster (bitmap) file formats. The most common are GIF, JPEG or JPG, PNG, and BMP.

To insert a graphic (image) from a file:

  1. Place the cursor at the appropriate location in the document.
  2. On the main menu, select Insert > Picture > From File.
  3. On the Insert Picture dialog, navigate to the file to be inserted, select it, and click Open.
Insert picture dialog

Insert picture dialog

At the bottom of the Insert picture dialog are two checkboxes. Select the Preview to display the selected graphic file on the right, so you can verify that you have the correct file.

If Link is selected, Writer creates a link to the file containing the image, instead of saving a copy of the image in the document. The result is that the image is displayed in the document, but when the document is saved, it contains only a reference to the image file— not the image itself. The document and the image remain as two separate files, and they are merged together only when you open the document again.

The main advantage to linking pictures comes during the draft phase of writing and illustrating a book. If you change a picture but keep the same filename and location on your computer, then the next time you open the book file, the changed picture is included; you don’t have to remember to replace the earlier version with the revised picture.

The main disadvantage of linking comes if you send the file to someone else, or copy or move it to another computer or another location on the same computer. In these situations, you must be sure to send the image files as well, and the recipient must put them in the same relative location on the other computer. (Keeping all the files in one folder and sending the whole folder is the easiest way to make sure the files stay together.)

At any time, you can embed linked images into the main file. To do so:

  1. Open the document in Writer.
  2. Choose Edit > Links from the menu bar.
  3. The Edit Links dialog shows all the linked files. In the Source file list, select the files you want to change from linked to embedded.
  4. Click the Break Link button.
  5. Save the Writer document.
Edit Links dialog

Edit Links dialog

Note: Going the other way, from embedded to linked, is not so easy. You must delete and reinsert each image, one at a time, selecting the Link checkbox when you do so.

<< Previous section | Next section >>


This book is licensed under the terms of the Creative Commons Attribution License, version 3.0.

Leave a Reply