Img From Online Manual

Revision as of 12:05, 15 June 2011 by AngelinaBelle (talk | contribs) (added parameter width to the example/result)
Jump to: navigation, search

button: Img.gif

parameters:

  • alt text alternative to the image, for visually impaired users
  • width resize image to this width. If no height is specified, height will be resized to preserve the aspect ratio.
  • height resize image to this height. If no width is specified, width will be resized to preserve the aspect ratio.

example: [img width=300px]http://wiki.simplemachines.org/skins/common/images/button_media.png [/img]

result: <img width="300" alt="" src="http://wiki.simplemachines.org/skins/common/images/button_media.png" alt="" class="bbc_img" />



Advertisement: