Deletes old files.
Project description
# django-resized
Resizes image origin to specified size. Compatible with sorl-thumbnail.
## Installation
pip install django-resized
# Configuration (optional)
settings.py
DJANGORESIZED_DEFAULT_SIZE = [800, 600]
Default size is 1920x1080.
## Usage
models.py
from django_resized import ResizedImageField
- class MyModel(models.Model):
… image = ResizedImageField(max_width=500, max_height=300, upload_to=’whatever’)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-resized-0.2.tar.gz
(2.0 kB
view details)
File details
Details for the file django-resized-0.2.tar.gz.
File metadata
- Download URL: django-resized-0.2.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
939df515ef10b68a915ed4c9158b594b110e188cb7c3256938a97d588eafafb5
|
|
| MD5 |
634aaf084788ac2a44c5db1057be93b3
|
|
| BLAKE2b-256 |
dd911681d789fe37ea8ec4da2b4bdd58b09eb305c7c40c6d2fa50bb3c5dbe5a3
|