Difference between revisions of "Img" From Online Manual

Jump to: navigation, search
Line 3: Line 3:
 
|button=Img.gif
 
|button=Img.gif
 
|example=[img width=300]http://wiki.simplemachines.org/skins/common/images/button_media.png[/img]
 
|example=[img width=300]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" />
+
|result=[[File:img.gif|300px]]
 
|parameters={{Parmdesc
 
|parameters={{Parmdesc
 
|alt|d1=text alternative to the image, for visually impaired users
 
|alt|d1=text alternative to the image, for visually impaired users

Revision as of 06:06, 20 June 2013

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=300]http://wiki.simplemachines.org/skins/common/images/button_media.png[/img]

result: Img.gif