img: Pass the align parameter through to the generated img tag.
parent
0c6a47e9e4
commit
b1b7a2100f
|
@ -123,6 +123,7 @@ sub preprocess (@) {
|
|||
'" height="'.$im->Get("height").'"'.
|
||||
(exists $params{alt} ? ' alt="'.$params{alt}.'"' : '').
|
||||
(exists $params{title} ? ' title="'.$params{title}.'"' : '').
|
||||
(exists $params{align} ? ' align="'.$params{align}.'"' : '').
|
||||
(exists $params{class} ? ' class="'.$params{class}.'"' : '').
|
||||
(exists $params{id} ? ' id="'.$params{id}.'"' : '').
|
||||
' />';
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
ikiwiki (3.1416) UNRELEASED; urgency=low
|
||||
|
||||
* svn: Fix rcs_rename to properly scope call to dirname.
|
||||
* img: Pass the align parameter through to the generated img tag.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Wed, 08 Jul 2009 13:10:38 -0400
|
||||
|
||||
|
|
|
@ -18,9 +18,9 @@ making the image smaller than the specified size. You can also specify only
|
|||
the width or the height, and the other value will be calculated based on
|
||||
it: "200x", "x200"
|
||||
|
||||
You can also pass `alt`, `title`, `class` and `id` parameters. These are
|
||||
passed through unchanged to the html img tag. If you include a `caption`
|
||||
parameter, the caption will be displayed centered beneath the image.
|
||||
You can also pass `alt`, `title`, `class`, `align` and `id` parameters.
|
||||
These are passed through unchanged to the html img tag. If you include a
|
||||
`caption` parameter, the caption will be displayed centered beneath the image.
|
||||
|
||||
The `link` parameter is used to control whether the scaled down image links
|
||||
to the full size version. By default it does; set "link=somepage" to link
|
||||
|
|
Loading…
Reference in New Issue