{ "info": { "author": "Aamir Adnan", "author_email": "s33k.n.d3str0y@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7" ], "description": "django-croppic\n==============\n\n[Croppic](http://croppic.net/) is a jquery plugin which handles uploading and manipulating images via AJAX.\n\nA Django package which uses [Croppic](http://croppic.net/) to upload and crop images.\n\nInstallation\n============\n\nInstall from pypi:\n\n pip install django-croppic\n\nTo use `django-croppic` in your Django project:\n\n1. Add `croppic` to your `INSTALLED_APPS` setting.\n2. Add `croppic.urls` in your main `urls`\n * `url(r'^croppic/', include('croppic.urls', namespace='croppic')),`\n3. Run `syncdb` command to initialise the `croppic` database table\n4. Run `collectstatic` command to collect the static files of croppic into `STATIC_ROOT` (If on production)\n\nConfiguration\n=============\n\nAvailable settings:\n\n* `CROPPIC_UPLOAD_PATH`\n * Default: `pictures`\n * The default path where to store uploaded files.\n * e.g. `CROPPIC_UPLOAD_PATH = 'user_photos'` (Notice no leading or trailing slashes).\n\n* `CROPPIC_MIN_SIZE`\n * Default: `None` (No restrictions)\n * Restrict uploaded/cropped files to have at least minimum width and height as defined by `CROPPIC_MIN_SIZE`.\n * e.g. `CROPPIC_MIN_SIZE = (250, 250)`\n\n* `CROPPIC_MIN_SIZE_ERROR`\n * Default: `Image is too small, must be at least {0}x{1} wide.` (The `{0}` and `{1}` will be used in string formatting to replace with width and height)\n * If `CROPPIC_MIN_SIZE` is specified you may want to update this to show a different error message if uploaded/cropped image does not satisfy `CROPPIC_MIN_SIZE`\n\n\nChange Log Summary\n==================\n\n### v0.0.2\n\n* Extended `imgUrl` length from 100 to 250 in `CropForm`\n* Updated README\n\n### v0.0.1\n\n* Lots of improvements in original package [django-croppic by Ben Hammel](https://bitbucket.org/bdhammel/django-croppic.git)\n\n\nTODO\n=====\n\n* Testing across various Django and Python version. (Currently tested with Python 2.7+ Django 1.7+)\n* Example project", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/intellisense/django-croppic", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-croppic", "package_url": "https://pypi.org/project/django-croppic/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-croppic/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/intellisense/django-croppic" }, "release_url": "https://pypi.org/project/django-croppic/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "A Django package which uses Croppic.net to upload and crop images.", "version": "0.0.2" }, "last_serial": 1669260, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d312a44f32761d125edb5255624a7034", "sha256": "4b16cd3d8234009571be22498bb23e9deb0be66a7e9d6e3f0d13b3f8ce5ddb0f" }, "downloads": -1, "filename": "django-croppic-0.0.1.zip", "has_sig": false, "md5_digest": "d312a44f32761d125edb5255624a7034", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 672331, "upload_time": "2015-07-03T18:54:30", "url": "https://files.pythonhosted.org/packages/0e/93/064c32fb77da4131a3d5cddfe34d9526ce9f49b422c2b252e5c716ca9758/django-croppic-0.0.1.zip" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "d8005ae9403755f1d44722e9eed53e7d", "sha256": "c0cb997041ba50de5233eee0c5e564de17d9f89f07cc2083826bac4177d80e16" }, "downloads": -1, "filename": "django-croppic-0.0.2.zip", "has_sig": false, "md5_digest": "d8005ae9403755f1d44722e9eed53e7d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 672431, "upload_time": "2015-08-08T04:28:23", "url": "https://files.pythonhosted.org/packages/04/41/5938b7872fafb0e574c4dbdcfc28bbcdf3b6b373d9624cc6aa364c66ecf7/django-croppic-0.0.2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d8005ae9403755f1d44722e9eed53e7d", "sha256": "c0cb997041ba50de5233eee0c5e564de17d9f89f07cc2083826bac4177d80e16" }, "downloads": -1, "filename": "django-croppic-0.0.2.zip", "has_sig": false, "md5_digest": "d8005ae9403755f1d44722e9eed53e7d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 672431, "upload_time": "2015-08-08T04:28:23", "url": "https://files.pythonhosted.org/packages/04/41/5938b7872fafb0e574c4dbdcfc28bbcdf3b6b373d9624cc6aa364c66ecf7/django-croppic-0.0.2.zip" } ] }