Skip to main content

Django image uploader and cropping tool

Project description

django-cropduster is a project that makes a form field available that uses the Jcrop jQuery plugin. It is a drop-in replacement for django’s ImageField and allows users to generate multiple crops from images, using predefined sizes and aspect ratios. django-cropduster was created by developers at The Atlantic. It is compatible with python 2.7 and 3.4, and Django versions 1.4 - 1.8.

Installation

The recommended way to install django-cropduster is from PyPI:

pip install django-cropduster

Alternatively, one can install a development copy of django-cropduster from source:

pip install -e git+git://github.com/theatlantic/django-cropduster.git#egg=django-cropduster

If the source is already checked out, use setuptools:

python setup.py develop

Configuration

To enable django-cropduster, "cropduster" must be added to INSTALLED_APPS in settings.py and you must include cropduster.urls in your django urlpatterns.

# settings.py

INSTALLED_APPS = (
    # ...
    'cropduster',
)

# urls.py

urlpatterns = patterns('',
    # ...
    url(r'^cropduster/', include('cropduster.urls')),
)

License

The django code is licensed under the Simplified BSD License. View the LICENSE file under the root directory for complete license and copyright information.

The Jcrop jQuery library included is used under the MIT License.

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-cropduster-4.11.16.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

django_cropduster-4.11.16-py2.py3-none-any.whl (2.0 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-cropduster-4.11.16.tar.gz.

File metadata

  • Download URL: django-cropduster-4.11.16.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for django-cropduster-4.11.16.tar.gz
Algorithm Hash digest
SHA256 c070101471588023e273c1da4ee3bd0fda18c0759ba16a274b43afbc6c4d7562
MD5 d42c4e3ae4b5c3d9d214ab9eb1781e69
BLAKE2b-256 ce802b5bb6791b64fe1cbfff1945e31db161980c87633f6d3702edecda5a084e

See more details on using hashes here.

File details

Details for the file django_cropduster-4.11.16-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_cropduster-4.11.16-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ac7adcc82b27085219bc8bbd615323174d9c68fd9de065cf8bc99319da32ce0a
MD5 c43ddfb3b186fa15cd4a4ab6b250673c
BLAKE2b-256 0add494c53f524b1315848f28b187b05f5995433b7c643d6ade79b87c72bb027

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 Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page