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
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size django_cropduster-4.13.1-py2.py3-none-any.whl (819.0 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size django-cropduster-4.13.1.tar.gz (785.0 kB) | File type Source | Python version None | Upload date | Hashes View |
Hashes for django_cropduster-4.13.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb1254d2df3672d70d80e94222f648eac06ed1c9fb9c238985f61bf0d924a969 |
|
MD5 | a33ff95d9f3ef29b583e8415cdba6d50 |
|
BLAKE2-256 | 7bff0b9c7b23bff69e4c373bfe38ff3735b6df0c43d194c6207d7568d63bdf68 |