DocImages 

TB Wiki

Login

DocImages

Introduction [edit section]

One type of item that can be placed on a tbwiki page is an image.

Images can be loaded either from external sources, or from the 'files' directory of the current wiki.

Inline images, from 'files' directory [edit section]

Specify an image from this wiki's 'files' directory.

Example link syntax:

Here is a bird: [[image:bird-image.jpg]]

Result:

Here is a bird:

specifying image attributes [edit section]

You can set the height, width and alt_text for an image, by adding an image attribute tag in the image link. Multiple tags can be specified, separated by a space.

Specify an image height of 30 pixels:

[[image:bird-image.jpg|height="30"]]

Result:


Specify an image width of 100 pixels:
[[image:bird-image.jpg|width="100"]]

Result:


Specify a width, and alternate text for the image.

[[image:bird-image.jpg|width="64" alt="picture of bird"]]

Result: picture of bird


FIXTHIS - should support captions

Inline images, from external sources [edit section]

This link shows a reference to a (potentially) different web site, using a fully-qualified URL for the image on that site.

Syntax:

[[image:https://bird.org/tbw-files/alert.png]]

Result:

TBWiki engine 1.9.1 by Tim Bird