Images · 11.04.04
The <txp:image /> tag
Using this tag, you can display the image you want, using the id attribute.
We can easily obtain the id attribute value for anyone of the images we’ve uploaded througt TXP: go to the “Write>Images” section, click on the textpattern link correspondent to your image, and you’ll obtain a nice <txp:image /> tag with the correct id attribute.
Once we’ve got our tag, we can customize it with any of the following attributes:
- style: the styles you want to apply to the image. (This is the XHTML style attribute).
- align: The alignment you want to specify for this image. This is also the XHTML align attribute equivalent; so, the correct values can be one of: bottom, middle, top, left or right. (Note that this attribute is deprecated since HTML 4.01 so, if you want standards compliance pages, you shouldn’t use it).
* * *

Comment
commenting closed for this article