Description

Image is the base class of all image files (JPEG, PNG, GIF)

Examples

<b py:sub="image.size">WxH</b>                                                                  display image size
<a href="image.jpg" py:attr="image.url"><img src="thumb.jpg" py:attr="image.thumb.url"></a>     thumbnail linking to full image

Attributes

size
image size (width x height)

thumb
image thumbnail (automatically created in .thumbs, default size is defined in config.py, can be overriden by a PythonOption thumbsize directive)