projectdoc Toolbox

Renders an image transcluded from a remote server.

Description

Renders an image transcluded from a remote server.

 

Since projectdoc Toolbox version 1.11 this macro is part of the Information Systems Extension. Prior to that version the macro has been part of the projectdoc Toolbox.

The Since attribute above refers to the version of the extension, not to the version of the projectdoc Toolbox.

Properties

System Identifier

Identifies the connection information via space properties, Confluence shortcuts, or links in the Confluence Application Navigator.

 

The system identifier is checked at three locations

 

Typically do not change the system identifier provided by the macro (if one is specified). Keep the default value of '<system-id>' as long as you do not need to reference multiple server of the same type in one space. Then set the space property to reference the specific server accordingly. This makes it easier to create new links to artifacts since the system identifier need not to be changed.

The search for the system connection information is conducted as follows. Use the URI discovered first to connect to the server.

  1. Check for a space property url-<system-id>
  2. Check for a space property <system-id>
    Only available with projectdoc Toolbox version 1.11 and up!
  3. Check for a space property shortcut-id-<system-id>.
    Lookup the connection information from the shortcut links with the value retrieved from the space property.
  4. Check the shortcut links for a value <system-id>.
  5. Check application navigator for a value <system-id>.

If no value is specified at any of the locations above, the macro renders an error message like this:

In this example for a system macro the referenced, but undefined system, is called test-repo.

File

The image file on the server to transclude.

If the image file does not exist, the browser will render the icon for broken images.

Title

The title attribute to the image.

Alt

The alt attribute to the image to show if user decides to not show images.

Width

Scales the image to this width.

Border

Render border around the image.

Details

Autoconvert

To create the macro authors may simply paste the URI to a image to the editor.

All is needed is a configuration of the image repository base URI. For more information on this topic, please refer to Autoconvert Information System URIs.

Related macros

The following macros help with referencing resources on other information servers:

Enterprise Architect Image Link Macro
Renders an image generated from an Enterprise Architect diagram, transcluded from a server.
HTML Snippet Macro
Transclude HTML content from a remote server.
Javadoc Link Macro
Links API documentation pages for Java elements.
Nexus Link Macro
Renders a link to an artifact stored on a Nexus server.
System Link Macro
Links to a resource on a server.
System Transclusion Macro
Transclude content from a resource from a remote system.
Text Snippet Macro
Transclude text content from a remote server.