Updated documentation of img tag

This commit is contained in:
Frederic Hemberger 2011-09-26 12:41:17 +02:00
parent ea4c6704ca
commit 2f07c2f0c9

View File

@ -10,13 +10,14 @@ If you like Markdown's syntax for images, you'll love the simplicity of the Octo
#### Syntax
{{ "{% img [class names] /path/to/image [width height] [title text]" }} %}
{{ "{% img [class names] /path/to/image [width] [height] [title text [alt text]]" }} %}
## Examples
{{ "{% img http://placekitten.com/890/280" }} %}
{{ "{% img left http://placekitten.com/320/250 Place Kitten #2" }} %}
{{ "{% img right http://placekitten.com/300/500 150 250 Place Kitten #3" }} %}
{{ "{% img right http://placekitten.com/300/500 150 250 'Place Kitten #4' 'An image of a very cute kitten'" }} %}
{% img http://placekitten.com/890/280 %}
Bacon ipsum dolor sit amet exercitation ball tip consectetur tempor. Biltong exercitation aliqua, ribeye consequat veniam consectetur.
@ -29,4 +30,6 @@ Brisket quis velit bresaola. Pork loin pork chop beef duis. Short loin fugiat of
Filler text courtesy of [Bacon Ipsum](http://baconipsum.com), Images courtesy of [Place Kitten](http://placekitten.com).
{% img http://placekitten.com/300/500 150 250 "Place Kitten #4" "An image of a very cute kitten" %}
[« Plugins page](/docs/plugins)