django-versatileimagefield icon indicating copy to clipboard operation
django-versatileimagefield copied to clipboard

Setting geometry for width/height only

Open Alex-Sichkar opened this issue 9 years ago • 1 comments

Is there is a way to do something like:

example.image.crop['400x']

or

   example.image.crop['x400']

so resulting image would have exact/maximum width/height like in sorl-thumbnail?

Alex-Sichkar avatar Aug 08 '16 10:08 Alex-Sichkar

Hey @ygwain –

At present that's not possible to do but it would be a very useful feature. Would you be up for porting that functionality over from sorl (or at least share a link to the sorl docs that describes that feature)?

respondcreate avatar Aug 11 '16 20:08 respondcreate