{ "info": { "author": "Steve McMahon", "author_email": "steve@dcn.org", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Introduction\n============\n\nImageScales applies a simple patch to the schema used for ATImage\nto allow specification of image scales on a site-by-site basis. It\nshould work with Plone 2.5 and 3.x. For Plone 3.x, you may wish to\nuse plone.app.imaging instead.\n\nInstallation\n============\n\nInstall ImageScales by adding \"Products.ImageScales\" to your buildout\neggs list.\n\nIt's also possible to extract the \"ImageScales\" directory in \nImageScales/Products and putting it in an old-style Zope Products\ndirectory.\n\nImageScales will not show up in your Plone add/remove products configlet\nas it needs no special installation.\n\nHow it works\n============\n\nOnce the ImageScales patch is in place, getAvailableSizes method calls\nwill be routed through a method installed on startup. This method will\nlook for a portal_properties property sheet named imaging_properties.\nIf it finds it, it will read the lines property allowed_sizes to get a list of\nsizes. If either the special property sheet or property are not found,\nthe original ATImage scales will be used.\n\n\nConfiguring Site Scales\n=======================\n\nCreate in portal_properties a plone property sheet named imaging_properties.\nCreate in that property sheet a lines property with the id \"allowed_sizes\".\n\nSizes should contain a list of lines. Each line is a scale specification. Each\nspecification should have the format::\n\n id horizontal_pixels:vertical_pixels\n \nFor example, to recreate the standard ATImage scales, the property would read::\n\n large 768:768\n preview 400:400\n mini 200:200\n thumb 128:128\n tile 64:64\n icon 32:32\n listing 16:16\n \nIf you're using ImageScales with a theme product that has a GS profile, you can\ncreate the property sheet with a property_tools.xml specification like::\n\n \n \n \n Image Scales for ATImage\n \n \n \n \n \n \n \n \n \n \n \n\nHowever you build your property sheet, you'll need to use the portal_atct tool\nto rebuild image scales in existing images any time you make a change.\n\nChangelog\n=========\n\n1.0 - Unreleased\n----------------\n\n* Initial release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://svn.plone.org/svn/collective/Products.ImageScales", "keywords": "web zope plone theme", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "ImageScales", "package_url": "https://pypi.org/project/ImageScales/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ImageScales/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://svn.plone.org/svn/collective/Products.ImageScales" }, "release_url": "https://pypi.org/project/ImageScales/0.1/", "requires_dist": null, "requires_python": null, "summary": "Patches ATImage to allows per site image scales.", "version": "0.1" }, "last_serial": 784537, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "ea276ded4d727d8108ef989b3f0bf2a5", "sha256": "0ca1e093b0cb371fded36638f5223397e07b37a264f39e86d09f2dab743dee3f" }, "downloads": -1, "filename": "ImageScales-0.1.tar.gz", "has_sig": false, "md5_digest": "ea276ded4d727d8108ef989b3f0bf2a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10125, "upload_time": "2009-05-13T00:17:00", "url": "https://files.pythonhosted.org/packages/bf/e7/bb98c653c850c096502a2630935c776802760855c00fe49e83674943eee9/ImageScales-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ea276ded4d727d8108ef989b3f0bf2a5", "sha256": "0ca1e093b0cb371fded36638f5223397e07b37a264f39e86d09f2dab743dee3f" }, "downloads": -1, "filename": "ImageScales-0.1.tar.gz", "has_sig": false, "md5_digest": "ea276ded4d727d8108ef989b3f0bf2a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10125, "upload_time": "2009-05-13T00:17:00", "url": "https://files.pythonhosted.org/packages/bf/e7/bb98c653c850c096502a2630935c776802760855c00fe49e83674943eee9/ImageScales-0.1.tar.gz" } ] }