A quick example:
[smg id=123 type=preview align=center width=400 caption="Hello, world!"] This will show in your posts a center-aligned mid-size (preview) picture, resized to 400 pixels wide, with a caption below it. All parameters are optional, except for the item ID.
Possible values: - type=normal, box, link, preview, full - align=none, left, center, right - width=123 (in pixels)
- caption="Caption text" or caption=SingleWordText
All items are identified by a specific number which you can see in its URL. Just use it here. This is the only parameter that is NOT optional.
normal (default) - show the thumbnail. Click on it to show a preview.
av - embed an audio or video item within a player. If you do not use this parameter, the item's thumbnail will show up as expected, but clicking on it will load the file directly. You don't want that to happen. Really.
box - show the thumbnail box, with full details, as in the SMG pages. Clicking on the thumbnail will lead you to the item page.
link - just like the default, except that the caption is clickable and leads you to the item page. If no caption is set, a default link will be shown instead.
preview - show the preview picture (halfway between thumbnail and full picture.)
full - show the full picture. Make sure you set the width parameter!
none (default) - normal alignment. Will not allow thumbnails to its right or left.
left - left-align the thumbnail. Use several left-aligned smg tags to show thumbnails next to each other.
center - center-align the thumbnail. Will not allow thumbnails to its right or left, except if showing them in this order: [smg align=left][smg align=right][smg align=center]
right - same as left, but right-aligned. You got it.
Any number higher than zero will do. This parameter is only needed if you want to force a specific width.
Set the tag type according to the desired size. For instance, if your thumbnails have a default width of 120, and previews are 500 pixels wide, use [smg type=preview] if you're forcing a width of 300 to 500 pixels, otherwise the resulting thumbnail will be very blurry.
Show a caption below the thumbnail (if type is set to link, the caption will be clickable and lead you to the item page.)
Any string will do. If it contains spaces or brackets, be sure to enclose it between "double quotes".