{ "info": { "author": "Gagaro", "author_email": "yann.fouillat@makina-corpus.com", "bugtrack_url": null, "classifiers": [ "Framework :: Django", "Framework :: Django :: 1.11", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 3.6" ], "description": "Django SizedImageField\n======================\n\n\nWhat is it ?\n------------\n\nSizedImageField is a Django field which will automatically resize image to fit a defined dimension.\nBecause it inherits from ImageField, all the usual ImageField attributes are available.\nIt uses PIL which is already a requirement to use Django ImageField.\n\n\nExample\n-------\n\n.. code-block:: python\n\n from sizedimagefield.fields import SizedImageField\n\n class Article(models.Model):\n\n thumbnail = SizedImageField('thumbnail', width=150, height=150, upload_to='articles/')\n\n\n\nCompatibilities\n---------------\n\nIt has only been tested with Django 1.11 and Python 3.6.\n\n\nInstallation\n------------\n\nInstalling from pypi (using pip). ::\n\n pip install django-sizedimagefield\n\n\nInstalling from github. ::\n\n pip install -e git://github.com/makinacorpus/django-sizedimagefield.git#egg=django-sizedimagefield\n\nAdd ``sizedimagefield`` in your ``INSTALLED_APPS``::\n\n INSTALLED_APPS = [\n 'sizedimagefield',\n [...]\n ]\n\n\nThe application doesn't have any special requirement.\n\n\nLicensing\n---------\n\nPlease see the LICENSE file.\n\nContacts\n--------\n\n.. image:: https://drupal.org/files/imagecache/grid-3/Logo_slogan_300dpi.png\n :target: http://www.makina-corpus.com\n\n\n=========\nCHANGELOG\n=========\n\n0.1.1\n=====\n\n- Fixed installation\n\n0.1\n===\n\n** New **\n\n- Initial release\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/makinacorpus/django-sizedimagefield", "keywords": "django sized image resize thumbnail", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django-sizedimagefield", "package_url": "https://pypi.org/project/django-sizedimagefield/", "platform": "", "project_url": "https://pypi.org/project/django-sizedimagefield/", "project_urls": { "Homepage": "http://github.com/makinacorpus/django-sizedimagefield" }, "release_url": "https://pypi.org/project/django-sizedimagefield/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "A very simple Django field to resize images at upload.", "version": "0.1.1" }, "last_serial": 2982047, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "dab2c1a76409ed1b6f3302dd5a318a4a", "sha256": "cfe9bc4787f77210b3855a8300e45bfeb8bf82aa9747fef492b5a77080cb236d" }, "downloads": -1, "filename": "django-sizedimagefield-0.1.tar.gz", "has_sig": false, "md5_digest": "dab2c1a76409ed1b6f3302dd5a318a4a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2383, "upload_time": "2017-06-27T13:16:28", "url": "https://files.pythonhosted.org/packages/ab/36/d3200cc4fddb28f55b82574846f7c2bad6ae0b9cd2a454efb3ce6355c558/django-sizedimagefield-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "dbb1770205215d87257b993b61204fd7", "sha256": "a486da0e5f11593660c767c127824e9ff5606da79c85f237b060eb1046aea11a" }, "downloads": -1, "filename": "django-sizedimagefield-0.1.1.tar.gz", "has_sig": false, "md5_digest": "dbb1770205215d87257b993b61204fd7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2540, "upload_time": "2017-06-27T13:20:36", "url": "https://files.pythonhosted.org/packages/d9/2e/5720ee5d0ad90ff84e416f291e0b12d5deed2a45c6e820c950f6529019b0/django-sizedimagefield-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dbb1770205215d87257b993b61204fd7", "sha256": "a486da0e5f11593660c767c127824e9ff5606da79c85f237b060eb1046aea11a" }, "downloads": -1, "filename": "django-sizedimagefield-0.1.1.tar.gz", "has_sig": false, "md5_digest": "dbb1770205215d87257b993b61204fd7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2540, "upload_time": "2017-06-27T13:20:36", "url": "https://files.pythonhosted.org/packages/d9/2e/5720ee5d0ad90ff84e416f291e0b12d5deed2a45c6e820c950f6529019b0/django-sizedimagefield-0.1.1.tar.gz" } ] }