Img: Difference between revisions From Online Manual

Jump to: navigation, search
(added parameters)
No edit summary
 
(11 intermediate revisions by 4 users not shown)
Line 2: Line 2:
|tag=Img
|tag=Img
|button=Img.gif
|button=Img.gif
|example=[img]http://wiki.simplemachines.org/skins/common/images/button_media.png [/img]
|example=[img width=30]https//wiki.simplemachines.org/smf/images/1/19/Button_media.png[/img]
|result=<img src="http://wiki.simplemachines.org/skins/common/images/button_media.png" alt="" class="bbc_img" />
|result=[[File:button_media.png|30px]]
|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

Latest revision as of 00:27, 10 January 2022

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=30]https//wiki.simplemachines.org/smf/images/1/19/Button_media.png[/img]

result: Button media.png



Advertisement: