# Adding or replacing an Image

To insert an image, choose Image from the Xhtml menu, click the Image button, or use the keyboard shortcut (`Control-h` in Windows, `Control-i` in Unix). The resulting dialog lets you enter the file name and alternative text ('ALT' text) of the desired image. Be careful: the alternative text is mandatory. You must provide some text in the corresponding field.

If an image is selected (do so by dragging over the image) when opening the image dialog, the selected image is then replaced by the new image.

To provide a long description for an image presenting complex information, you should do so in a separate document and link it by giving the URI as a `longdesc`. This command is also available on the Attributes menu.

To help find an image file you can enter a filter field, and use the filter button, and the dialog will list only the files that match your pattern.

## See Also:

- Working with Image Maps
- Working with Graphics