Insert an image from a remote location into a topic in the Oxygen editor

You can edit an image reference to insert images from remote locations, FTP sites, or local files outside the repository.

When you are inserting images from outside the repository, you may use either absolute or relative pathnames. However, you should keep in mind that setups vary in different machines. When you specify the path for your image, you’d better be sure that the path makes sense with regard to the machine (and the local network) where the files will be installed.

Note: When you use this procedure, the images will not be part of your output. The output will be created with links to the images. When you load your output onto the web server, the content will link to external images in the location you specified.
  1. Open the topic in your XML editor.
  2. Place the cursor where you want to insert the image.
    Note: You must place your cursor within an element that allows images.
  3. Right-click any image in one of the DITA CMS views, then select Oxygen Editor > Insert Image from the menu.
    Note: This inserts an image. You'll need to edit its attributes so that it references the actual remote image.
  4. Open the Oxygen Attributes view.
  5. In the <image> tag's href attribute, type the location you want to reference.

    The following table shows the types of location accepted by the href attribute and their syntax.

    Location type Syntax
    Web site http://sitename
    Secure web site https://sitename
    FTP site ftp://sitename
    Secure FTP site ftps://sitename
    Local file file://driveletter/filename

    The following screen shot shows an example of an edited href attribute.



Your remote image will appear in the image reference.