upload – Insert an image or download link¶
[upload] memo command inserts the specified upload file into
the memo text, either as an image or as a download link.
It is defined by the uploads plugin.
The minimal form specifies just the primary key of the upload file:
It will use a default image format and the upload file’s Description as the “caption” (the text that appears when the user hovers with their mouse over the image).
You can specify your own caption by adding it between the primary key and the closing square bracket (“]”):
[upload 123 My caption]
You can specify a format by putting it before the caption, separated with a pipe character (“|”):
[upload 123 wide|My caption]
Available format names are:
thumb(default) : height 10em and float right
tiny: height 5em and float right
wide: width 100%
solo: width 90%
duo: width 45%
trio: width 30%
tiny can have an additional option
must come between format name and caption, separated with a second pipe
[upload 123 left|thumb|My caption]
If you want to specify a format but no caption, then you must still specify a pipe character:
[upload 123 wide|]