Available Since: V1.0.0
The blog.featureImg snippet is used to draw the feature image of a blog post.
Parameter | Description |
---|---|
id | The ID of the post to draw the featured image for. If omitted and the snippet is placed on a blog post page then it will be the feature image for the current post. |
size | The size of the image, one of t (tiny), s (small), m (medium), l (large), defaults to l. |
abs | If set to `1` then the image address will be absolute; defaults to `0`. |
linkOnly | If set to `1` then only the address of the image is returned otherwise an img tag is returned; defaults to `0`. |