NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Image location

Markup

Attached to another page in the same space that all users in your group can view

Code Block
none
none
!pagename^image.gif!

Attached to another page in a different space (be sure all users in your group can view the page)

Code Block
none
none

!space:pagename^image.gif!

To display alternative text for an image, use the following wiki markup:

Code Block
none
none

!image.gif|alt=Image!

To format an image, use HTML image attributes as follows:

Code Block
none
none

!image.gif|align=right,border=2,bordercolor=blue!!

The HTML image attributes supported in Confluence 2.8 are:

  • align — 'left', 'right', 'bottom', 'center', 'top'.
  • border — width of the border (in pixels).
  • bordercolor — specify the colour of the image border created with the "border" tab. Specify the colours by name or by hex value. See more information about web colours. (Available with Confluence 2.6.2 and later.)
  • hspace — specify the amount of whitespace to be inserted to the left and right of the image (in pixels).
  • vspace — specify the amount of whitespace to be inserted above and below the image (in pixels).
  • width — specify the width of the image (in pixels). This will override the natural width of the image.
  • height — specify the height of the image (in pixels). This will override the natural height of the image.
  • title — specify alternative text for the image, which is displayed when the pointer hovers over the image
  • alt — specify alternative text, which is included in the HTML code. This text is retrievable via search, and contributes to accessibility of the page for text-only viewing.

Source: http://confluence.atlassian.com/display/DOC/Displaying+an+ImageImage Added May 16, 2008