Skip to main content

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

Github Actions Status Coverage Status 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 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

  • Django:

    • 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.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-versatileimagefield-3.1.tar.gz (29.7 kB view details)

Uploaded Source

Built Distribution

django_versatileimagefield-3.1-py2.py3-none-any.whl (54.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-versatileimagefield-3.1.tar.gz.

File metadata

File hashes

Hashes for django-versatileimagefield-3.1.tar.gz
Algorithm Hash digest
SHA256 3390e20048098e897bf299b0360763d10cd089665b7aef8eba900eecbaead0d8
MD5 31558e3db9fb5b2dee58e78a966a7280
BLAKE2b-256 0f6fd0e7c144e94e030dea2849273952c898143210c83673186a24d3dd36ff42

See more details on using hashes here.

File details

Details for the file django_versatileimagefield-3.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_versatileimagefield-3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dfdffa11a0d4c169e44f164481d2b26f94a0a00517216ee85748324c2f96a669
MD5 070428e2e61d7fb3407b4445778aa54f
BLAKE2b-256 d274940127fc8aeba9fbb57517484056e0cdf5581c0c4205977b9131f5779962

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page