ImageField with specified maximum image size
You can specyfy max width and height which image can have, and it never exceed that size.
- image
- thumbnail
- imagefield
- limit
- size
- max
You can specyfy max width and height which image can have, and it never exceed that size.
Syntax: {% math <argument, ..> "expression" as var_name %} Evaluates a math expression in the current context and saves the value into a variable with the given name. "$<number>" is a placeholder in the math expression. It will be replaced by the value of the argument at index <number> - 1. Arguments are static values or variables immediately after 'math' tag and before the expression (the third last token). Example usage, {% math a b "min($1, $2)" as result %} {% math a|length b|length 3 "($1 + $2) % $3" as result %}