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.
Release files for django-cropduster 4.15.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_cropduster-4.15.0.tar.gz | 146.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_cropduster-4.15.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 300.7 kB
Release files / django_cropduster-4.15.0.tar.gz
| Download URL | django_cropduster-4.15.0.tar.gz |
|---|---|
| Size | 146.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4d85071ce0f50bbab6a618416b89b9fd80677773c2f46624c430a1a490b1a72
|
|
BLAKE2b-256 checksum How to use checksums |
aac1566251aeb23bdf53fdbc551bb725e90a78b4d7527c428ea35985ce795336
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.5
|
Release files / django_cropduster-4.15.0-py3-none-any.whl
| Download URL | django_cropduster-4.15.0-py3-none-any.whl |
|---|---|
| Size | 154.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f8fc951abe6de1a3ae9a377c27d1b7ad14056c308e9856820a25a1570181eb7
|
|
BLAKE2b-256 checksum How to use checksums |
82731c6234a947155640cecfcff1d3e732c0428ec39f0a8cdac6e456e3d57479
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.5
|