Img: Difference between revisions From Online Manual

Jump to: navigation, search
(remove <nowiki> from example; categorize basic as per http://docs.simplemachines.org/index.php?topic=57)
No edit summary
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<tr><td><center><span style="font-size: 12pt;" class="bbc_size"><tt>'''img'''</tt></span></center></td><td><center>'''Image'''</center></td><td><center><img src="http://docs.simplemachines.org/Themes/default/images/bbc/img.gif" alt="" class="bbc_img" /></center></td></tr>
{{Wordy bbc
 
|tag=Img
<tr><td>&#91;img&#93;./Themes/default/images/on.gif&#91;/img&#93;</td><td></td><td><img src="http://docs.simplemachines.org/Themes/default/images/on.gif" alt="" class="bbc_img" /></td></tr>
|button=Img.gif
 
|example=[img width=30]https//wiki.simplemachines.org/smf/images/1/19/Button_media.png[/img]
{{Cleanup html}}
|result=[[File:button_media.png|30px]]
|parameters={{Parmdesc
|alt|d1=text alternative to the image, for visually impaired users
|width|d2=resize image to this width. If no height is specified, height will be resized to preserve the aspect ratio.
|height|d3=resize image to this height. If no width is specified, width will be resized to preserve the aspect ratio.
}}
}}
[[Category:Basic Bulletin Board Code]]
[[Category:Basic Bulletin Board Code]]
[[Category:Bulletin_Board_Code]]
[[Category:Bulletin_Board_Code]]

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: