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
-
3.0.x
3.1.x
3.2.x
4.0.x
4.1.x
5.0.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.
NOTE: The 3.0 release dropped support for Django 2.x.
Pillow >= 6.2.0
-
3.14.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
File details
Details for the file django_versatileimagefield_priv-3.1.3.tar.gz
.
File metadata
- Download URL: django_versatileimagefield_priv-3.1.3.tar.gz
- Upload date:
- Size: 29.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed7d2448bfad92d9fe41bf806e80d8f165efce5ea1aa4dabb4d0243d9f321cfc |
|
MD5 | f7cc25ba6c6fb3e3152d7c22159c358a |
|
BLAKE2b-256 | a7b9dbbf99a5bb531c403054a9fdc4c39774b93c789507dcf8acca40272407d5 |
File details
Details for the file django_versatileimagefield_priv-3.1.3-py2.py3-none-any.whl
.
File metadata
- Download URL: django_versatileimagefield_priv-3.1.3-py2.py3-none-any.whl
- Upload date:
- Size: 54.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bbf3ac1330ac26f0abc07080ebd5464f38cc415753ea009e336c283c251ed06 |
|
MD5 | bfb4a63781e56a46a088cebddd3402f8 |
|
BLAKE2b-256 | 6d7bb3846e970c5256cb1edc1aba4f40d3c065d2ab4308b7aa5a55752d255ea6 |