A drop-in replacement for django's ImageField that provides a flexible, intuitive and easily-extensible interface for creating new images from the one assigned to the field.
Project description
A drop-in replacement for django’s ImageField that provides a flexible, intuitive and easily-extensible interface for creating new images from the one assigned to the field.
Click here for a quick overview of what it is, how it works and whether or not it’s the right fit for your project.
Compatibility
Python:
3.6
3.7
3.8
3.9
-
2.0.x
2.1.x
2.2.x
3.0.x
3.1.x
3.2.x
NOTE: Python 3.6 does not have support for Django <= 1.x.
NOTE: The 1.4 release dropped support for Django 1.5.x & 1.6.x.
NOTE: The 1.7 release dropped support for Django 1.7.x.
NOTE: The 2.1 release dropped support for Django 1.9.x.
Pillow >= 2.4.0
-
3.9.x
3.10.x
3.11.x
3.12.x
Documentation
Full documentation available at Read the Docs.
Code
django-versatileimagefield is hosted on github.
Running Tests
If you’re running tests on Mac OSX you’ll need libmagic installed. The recommended way to do this is with homebrew:
$ brew install libmagic
Note: Some systems may also be necessary to install the non-python Pillow build dependencies.
You’ll also need tox:
$ pip install tox
To run the entire django-versatileimagefield test matrix, that is, run all tests on all supported combination of versions of python, django and djangorestframework:
$ tox
If you just want to run tests against a specific tox environment first, run this command to list all available environments:
$ tox -l
Then run this command, substituting {tox-env} with the environment you want to test:
$ tox -e {tox-env}
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
Built Distribution
Hashes for django-versatileimagefield-2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e98f7b0abfbf2559d55b08be40911dcc44b6f3437a6c40d81bf66b6914837fdf |
|
MD5 | 0e367ae279b30c3f665c4dba41380bfa |
|
BLAKE2b-256 | 1b12d19d45d92e630fbdeb326fe91e3893d335f575ffa399abdf6f5404b44bd1 |
Hashes for django_versatileimagefield-2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 262a08f88f2b472a4dcc36c224db53cf786d7acb728d141bacb86c37c69b9117 |
|
MD5 | 97d04a1534a3608988744832fe1a3cc8 |
|
BLAKE2b-256 | 51ef970c091acf4942a7971eb495cc2f460d6846e75152c4f3189e7591c394d9 |