widthratio tag does not accept a variable as the max_width argument
|Reported by:||Oliver Beattie||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When using the
widthratio template tag, it isn't possible to use a template variable as the
max_width argument. This would have been useful for me recently, and I can't see a reason why this functionality shouldn't exist. I've attached a patch which adds the feature.