Automatically resize image uploads in Django to a specified size. Current version 1.0.3, released sporadically. Lightweight replacement for django-imagekit for simple resize-on-upload scenarios.
pip install django-resizedVerified import paths — ran on the pinned version, not inferred.
Define a model with a ResizedImageField that automatically resizes images to 800x600, cropping from the center.
Use 'from django_resized import ResizedImageField' instead of 'from django_resized.forms import ResizedImageField'.
Always pass a list with exactly two valid values, e.g., crop=['middle', 'center'].
If you need both original and resized, use a separate field for original or use a different library like django-imagekit.