{ "info": { "author": "Ben Mason", "author_email": "ben@sharkbyte.co.uk", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Framework :: Zope2", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "==================\nCroppingImageField\n==================\n\nThis will resize all images to the dimensions you specify,\nbut instead of stretching, it will scale the images and crop the overhang.\n\nFor some examples how to configure CroppingImageField and result pictures\nsee ``_ or the Project page on http://plone.org/products/cropping-imagefield\n\n\nTo use the field::\n\n from croppingimage.field import CroppingImageField\n\n CroppingImageField(\n name = 'image',\n long_edge_size = 600,\n short_edge_size = 450,\n\n # use this if you don't want portrait images to scale to (450x600) (see docs/examples.txt)\n force_format = 'landscape',\n\n sizes= {'large' : (600, 450),\n 'medium' : (300, 225),\n 'thumb' : (125, 94),},\n widget = ImageWidget(label= \"Image\",)\n\n\nThis will create an attribute called \"image\" with the sizes thumb, medium, large as given.\n\nThis will be accessible as object/image, and the sizes as:\n\n* object/image_thumb\n* object/image_medium\n* object/image_large\n\n\n\n\nCopyright/ Author/ Licence\n==========================\n\ncopyright\n Sharkbyte Studios Ltd\n\nauthor\n Ben Mason \n\ncontributions\n Harald Friessnegger 'fRiSi': eggification, force_format extension\n\nlicense\n This software is under a GPL License. See separate file LICENSE.txt\n\ntrunk (2008-07-23)\n==================\n\n - xxx [Ingeniweb]\n\nHistory for Products.croppingimage\n==================================\n\n2008-07-23 0.2-rc2\n------------------\n\n* History.txt renamed to CHANGES to be support collective.releaser\n\n* removed float parsing for VERSION in config.py to make \"0.2rc1\" work too.\n\n* added a README.txt file to skins directory hoping it will make the skins\n directory available in the egg release too.\n\n\n2008-07-23 0.2-rc1\n------------------\n\n* added property force_format that allows to force landscape\n or portrait pictures. see docs/examples.txt for more information. [fRiSi]\n\n* more compact code example in README.txt [fRiSi]\n\n2008-07-22 0.1\n--------------\n\n* eggified product [fRiSi]\n\n* removed commented out \"pdb set_trace\" since archetypes svn repos has\n a commit hook that blocks checkins containing it [fRiSi]\n\n* initial import of 0.1 release to archetypes.MoreFieldsAndWidgets [fRiSi]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://plone.org/products/cropping-imagefield", "keywords": "", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "Products.croppingimage", "package_url": "https://pypi.org/project/Products.croppingimage/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Products.croppingimage/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://plone.org/products/cropping-imagefield" }, "release_url": "https://pypi.org/project/Products.croppingimage/0.2rc2/", "requires_dist": null, "requires_python": null, "summary": "ImageField that crops images that do not fit the expected ratio", "version": "0.2rc2" }, "last_serial": 785164, "releases": { "0.2rc1": [ { "comment_text": "", "digests": { "md5": "b7036c8acddf3218b4cdcd0fc2d0b58d", "sha256": "565f5e3d47a42bc84c43b30af77110e875ea1ee2200494a1cb875df3fbd1b2f5" }, "downloads": -1, "filename": "Products.croppingimage-0.2rc1-py2.4.egg", "has_sig": false, "md5_digest": "b7036c8acddf3218b4cdcd0fc2d0b58d", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 17042, "upload_time": "2008-07-23T13:18:11", "url": "https://files.pythonhosted.org/packages/af/a8/0d1158d1f1341c1634d0425a81d7c5127a1b663d2d0a2d453da67202f9e8/Products.croppingimage-0.2rc1-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "04fe8d223a1a5521c8fc28ccb4fd4f54", "sha256": "0004e7b0227e5cbbdd6f0f3a8de12fc75518b86ce14cf8a2a004160af3c1c1ab" }, "downloads": -1, "filename": "Products.croppingimage-0.2rc1.tar.gz", "has_sig": false, "md5_digest": "04fe8d223a1a5521c8fc28ccb4fd4f54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 133413, "upload_time": "2008-07-23T13:18:11", "url": "https://files.pythonhosted.org/packages/a7/7a/f3461dc68ef4b6080673aa3f56bba51fc014d1a4859028d79106715795eb/Products.croppingimage-0.2rc1.tar.gz" } ], "0.2rc2": [ { "comment_text": "", "digests": { "md5": "a4993073e18a2dea0db2a7b0953e202d", "sha256": "cc91595a20fd0510a978822eed6e98b2d030cce368a32c99904c34b8a05bbe4b" }, "downloads": -1, "filename": "Products.croppingimage-0.2rc2-py2.4.egg", "has_sig": false, "md5_digest": "a4993073e18a2dea0db2a7b0953e202d", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 17463, "upload_time": "2008-07-23T13:49:04", "url": "https://files.pythonhosted.org/packages/6c/09/c0fc2f01c7c25142b3f2d2b06a8f5011f7a504f4d5e0a59c45933dc55726/Products.croppingimage-0.2rc2-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "7e955a1a1f94c5fbe3ccce05cb995542", "sha256": "d0fde0200fbac22cb63fd02e4622148730aa3e2c91381072ac236247a8f2d137" }, "downloads": -1, "filename": "Products.croppingimage-0.2rc2.tar.gz", "has_sig": false, "md5_digest": "7e955a1a1f94c5fbe3ccce05cb995542", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 133859, "upload_time": "2008-07-23T13:49:04", "url": "https://files.pythonhosted.org/packages/92/c3/4bd91b9239dc8508004c77e7305460beca3b0fb4f517567086cde4052e3c/Products.croppingimage-0.2rc2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a4993073e18a2dea0db2a7b0953e202d", "sha256": "cc91595a20fd0510a978822eed6e98b2d030cce368a32c99904c34b8a05bbe4b" }, "downloads": -1, "filename": "Products.croppingimage-0.2rc2-py2.4.egg", "has_sig": false, "md5_digest": "a4993073e18a2dea0db2a7b0953e202d", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 17463, "upload_time": "2008-07-23T13:49:04", "url": "https://files.pythonhosted.org/packages/6c/09/c0fc2f01c7c25142b3f2d2b06a8f5011f7a504f4d5e0a59c45933dc55726/Products.croppingimage-0.2rc2-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "7e955a1a1f94c5fbe3ccce05cb995542", "sha256": "d0fde0200fbac22cb63fd02e4622148730aa3e2c91381072ac236247a8f2d137" }, "downloads": -1, "filename": "Products.croppingimage-0.2rc2.tar.gz", "has_sig": false, "md5_digest": "7e955a1a1f94c5fbe3ccce05cb995542", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 133859, "upload_time": "2008-07-23T13:49:04", "url": "https://files.pythonhosted.org/packages/92/c3/4bd91b9239dc8508004c77e7305460beca3b0fb4f517567086cde4052e3c/Products.croppingimage-0.2rc2.tar.gz" } ] }