Image uploader and cropping tool
Project description
django-cropduster
=================
**django-cropduster** is a project that makes available a form field available that
use the [Jcrop jQuery plugin](https://github.com/tapmodo/Jcrop). 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](http://www.theatlantic.com/).
* [Installation](#installation)
* [Configuration](#configuration)
* [License](#license)
Installation
------------
The recommended way to install with pip 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 adding `cropduster.urls` to your django urls.
```python
# 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](http://opensource.org/licenses/BSD-2-Clause). 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](https://github.com/tapmodo/Jcrop/blob/master/MIT-LICENSE.txt).
=================
**django-cropduster** is a project that makes available a form field available that
use the [Jcrop jQuery plugin](https://github.com/tapmodo/Jcrop). 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](http://www.theatlantic.com/).
* [Installation](#installation)
* [Configuration](#configuration)
* [License](#license)
Installation
------------
The recommended way to install with pip 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 adding `cropduster.urls` to your django urls.
```python
# 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](http://opensource.org/licenses/BSD-2-Clause). 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](https://github.com/tapmodo/Jcrop/blob/master/MIT-LICENSE.txt).
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.
Source Distribution
django-cropduster-4.2.24.tar.gz
(138.9 kB
view details)
File details
Details for the file django-cropduster-4.2.24.tar.gz
.
File metadata
- Download URL: django-cropduster-4.2.24.tar.gz
- Upload date:
- Size: 138.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d0512096106d957a42eadca43cfb028bcf9f78bfb71c52d3f86bb457aef43fc |
|
MD5 | c9615166955e46bfb75c2fc5d1d6fe74 |
|
BLAKE2b-256 | ae7c49ab90ef5de4f1a2a309ba23443984c7a2dd9964f665b6c604661e1f8fcf |