
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
django-versatileimagefield
Advanced tools
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.
.. image:: https://github.com/respondcreate/django-versatileimagefield/actions/workflows/tests.yml/badge.svg :target: https://github.com/respondcreate/django-versatileimagefield/actions/workflows/tests.yml :alt: Github Actions Status
.. image:: https://coveralls.io/repos/github/respondcreate/django-versatileimagefield/badge.svg?branch=master :target: https://coveralls.io/github/respondcreate/django-versatileimagefield?branch=master :alt: Coverage Status
.. image:: https://img.shields.io/pypi/v/django-versatileimagefield.svg?style=flat :target: https://pypi.python.org/pypi/django-versatileimagefield/ :alt: Latest Version
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 <https://django-versatileimagefield.readthedocs.io/en/latest/overview.html>_ of what it is, how it works and whether or not it's the right fit for your project.
Python:
Django <https://www.djangoproject.com/>_:
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 <https://pillow.readthedocs.io/en/latest/index.html>_ >= 6.2.0
Django REST Framework <http://www.django-rest-framework.org/>_:
Full documentation available at Read the Docs <https://django-versatileimagefield.readthedocs.io/en/latest/>_.
django-versatileimagefield is hosted on github <https://github.com/WGBH/django-versatileimagefield>_.
If you're running tests on Mac OSX you'll need libmagic installed. The recommended way to do this is with homebrew:
.. code-block:: bash
$ brew install libmagic
Note: Some systems may also be necessary to install the non-python Pillow build dependencies <https://pillow.readthedocs.io/en/stable/installation.html#external-libraries>_.
You'll also need tox:
.. code-block:: bash
$ 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:
.. code-block:: bash
$ tox
If you just want to run tests against a specific tox environment first, run this command to list all available environments:
.. code-block:: bash
$ tox -l
Then run this command, substituting {tox-env} with the environment you want to test:
.. code-block:: bash
$ tox -e {tox-env}
FAQs
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.
We found that django-versatileimagefield demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.