Here's some more information taken from a
post by @AiRdAncE about all of the options on inline attachments.
- attachment => Show full expanded picture
- attach => Show thumbnail, expandable to full picture
- attachthumb => Show thumbnail ONLY, not expandable
- attachmini => Show thumbnail, expandable to full picture
- attachurl => Shows attachment size, image dimensions, and download count; no picture
Examples: (Note: There isn't supposed to be a "space" after the leading "[" in the examples below. I have to insert that space to avoid the forum software from thinking I'm trying to insert a real attachment in this post.)
[ attach=
{id}][/attach]
[ attach=
{id},
{width}][/attach]
[ attach=
{id},
{width},
{height}][/attach]
The
{id} part is the index number of your attachments, the first attached image having id number 1, the fifth having number 5 etc.
Allowed parameters:id {attachment id} ID number of the attachment to show inline (NOT attachment number!)
width {width} Desired width of image to show. Valid: positive integers.
height {height} Desired height of image to show. Valid: positive integers.
float {float} Floats image to relation to everything else. Valid: left, right, center
margin {pixels} Margin around inline attachment. Valid: positive integers
margin-left {pixels} Left margin around inline attachment. Valid: positive integers
margin-right {pixels} Right margin around inline attachment. Valid: positive integers
margin-top {pixels} Top margin around inline attachment. Valid: positive integers
margin-bottom {pixels} Bottom margin around inline attachment. Valid: positive integers
border-style {style} Border style. Valid: none, dotted, dashed, solid, double, groove, ridge, inset, outset
border-width {pixels} Border width around inline attachment. Valid: positive integers
border-color {color} Border color. Valid formats: plain text, #xxx, #xxxxxx, rbg(d,d,d)
scale {answer} Override scaling of image. Valid: true, false, yes, no
msg {msg ID} Message ID number. Valid: positive integers.
In each case,
{id} is the attachment number relative to the topic,
{width} is the max desired width,
{height} is the max desired height,
{pixels} is the number of pixels surrounding the image, and
{float} can be either left, right, or center. All text between the opening and closing attachment tags is discarded.