Let's say you have an image with 800x600 dimensions and you wanted to display the image in 200x200 dimensions. If you do this you image will be shrink and loose it's shape. If you want to resize your image without losing it's shape you should use {CLIPIMG:imageField:Width:Height} tag. You can give desired dimensions as third and fourth parameters.
For example:
{CLIPIMG:profilePicture:200:150} will display the profile picture in 200x150 dimensions without shrinking the image.
Tags:
template tags image
Related Articles:
Add a new comment
|
Send Comment