Skip to main content

Add an Image with Element Context Menu

If you prefer, you can add the elements for an image individually, and for this, you can use the element context menu.

  1. Place your cursor where you want to add an image. The position of the cursor is important, as you can only add an image where it is valid. For example, if you are inserting an image or figure, you could place the cursor after a para element. But if you are inserting an inline image, you would need to place the cursor inside the para element.

  2. Press Alt + Enter ⏎ (Windows) or Command ⌘ + Enter ⏎ (Mac) to display the Element Context Menu.

    Element context menu shows a search field and a list of elements that are valid at the current position.
  3. Add the mediaobject element.

    Paligo adds the mediaobject element and also adds the imageobject and imagedata elements that are needed for an image.

  4. Right-click on the placeholder for the image and select Image browser.

  5. In the dialog that opens, browse or search for the image in your Media library.

    Note

    If the dialog does not open automatically, right-click on the placeholder icon for the image and select Image browser.

    Media browser dialog. It shows the images in a "Space Manual" folder. There is a search field at the bottom to search for other images , a folder path at the top to browse to different folders. There are also options for creating a folder, uploading new images, and refreshing the browser view.

    Note

    If the image is not in the Media library yet, you can upload it directly in this dialog by using the upload icon in the top-right.

    To find out more about uploading images, see Upload Images.

  6. Select the image to insert it into your topic.

    Note

    To use alt text in PDF outputs, it is important that you do not use tagged PDFs as images. For PDFs to use alt text, the layout has to have Generate tagged PDF enabled. The PDF processor cannot complete the publishing if your content contains tagged PDFs as images and Generate tagged PDF is enabled. You will need to use untagged PDFs as images or use different types of image files.

    If you try to publish content that has a tagged PDF embedded as an image and the Generate tagged PDF enabled, you will get a "production failed" error.

  7. Select Save. Save icon.