{ "info": { "author": "Andreas Kaiser", "author_email": "disko@binary-punks.com", "bugtrack_url": null, "classifiers": [ "Framework :: Pylons", "License :: Repoze Public License", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application" ], "description": "===================\r\nkotti_image_gallery\r\n===================\r\n\r\nThis is an extension to the Kotti CMS that allows you to add galleries with images to your Kotti site.\r\n\r\nIt uses `Bootstrap Carousel`_ for the gallery view.\r\n\r\n`Find out more about Kotti`_\r\n\r\n\r\nCompatibility\r\n=============\r\n\r\nAs of Kotti 0.7 the image type from ``kotti_image_gallery`` has been moved to the Kotti core.\r\nPlease use the ``kotti_gallery`` package, which supersedes this package with Kotti versions >= 0.7.\r\n\r\n\r\nSetup\r\n=====\r\n\r\nTo activate the ``kotti_image_gallery`` add-on in your Kotti site, you need to add an entry to the ``kotti.configurators`` setting in your Paste Deploy config.\r\nIf you don't have a ``kotti.configurators`` option, add one.\r\nThe line in your ``[app:main]`` section could then look like this::\r\n\r\n kotti.configurators = kotti_image_gallery.kotti_configure\r\n\r\nWith this, you'll be able to add gallery and image items in your site.\r\n\r\n\r\nImage URLs\r\n==========\r\n\r\n``kotti_image_gallery`` provides on-the-fly image scaling by utilizing `plone.scale`_ (thanks to Tom Lazar for the hint).\r\n\r\nImages (including arbitrary scales) can be referenced by this URL schema: ``/path/to/image_content_object/image[[/]/download]`` where ```` can be:\r\n\r\n - a predefined image scale (see below)\r\n - a string of the form ``x`` or\r\n - a URL path segment of the form ``/``\r\n\r\nIf the last URL path segment is ``download``, the image will be served with ``Content-disposition: attachment`` otherwise it will be served with ``Content-disposition: inline``.\r\n\r\nPredefined image scale sizes\r\n----------------------------\r\n\r\nYou may define image scale sizes in your ``.ini`` file by setting values for ``kotti_image_gallery.scale_`` to values of the form ``x`` (e.g. ``kotti_image_gallery.scale_thumb = 160x120`` with the resulting scale name ``thumb``).\r\n\r\n``thumb`` (160x120) and ``carousel`` (560x420) are always defined (because they are used in the default templates), but their values can be overwritten by setting ``kotti_image_gallery.scale_thumb`` and/or ``kotti_image_gallery.scale_carousel`` to different values in your .ini file.\r\n\r\n\r\nWork in progress\r\n================\r\n\r\n``kotti_image_gallery`` is considered alpha software, not suitable for use in production environments.\r\nThe current state of the project is in no way feature complete nor API stable.\r\nIf you really want to use it in your project(s), make sure to pin the exact version in your requirements.\r\nNot doing so will likely break your project when future releases become available.\r\n\r\n\r\nDevelopment\r\n===========\r\n\r\nContributions to ``kotti_image_gallery`` are highly welcome.\r\nJust clone its `Github repository`_ and submit your contributions as pull requests.\r\n\r\nNote that all development is done on the ``develop`` branch and ``master`` is reserved for \"production-ready state\".\r\nTherefore make sure to always base your work on the current state of the ``develop`` branch.\r\n\r\nThis follows the highly recommended `A successful Git branching model`_ pattern, which is implemented by the excellent `gitflow`_ git extension.\r\n\r\nTesting\r\n-------\r\n\r\n``kotti_image_gallery`` has 100% test coverage.\r\nPlease make sure that you add tests for new features and that all tests pass before submitting pull requests.\r\nRunning the test suite is as easy as running ``py.test`` from the source directory.\r\n\r\n\r\n.. _Bootstrap Carousel: http://twitter.github.com/bootstrap/javascript.html#carousel\r\n.. _Find out more about Kotti: http://pypi.python.org/pypi/Kotti\r\n.. _`plone.scale`: http://pypi.python.org/pypi/plone.scale/1.2.2\r\n.. _Github repository: https://github.com/disko/kotti_image_gallery\r\n.. _gitflow: https://github.com/nvie/gitflow\r\n.. _A successful Git branching model: http://nvie.com/posts/a-successful-git-branching-model/\r\n\r\n\r\nTODO\r\n====\r\n\r\n- cleanup HTML/CSS\r\n- add support for remote galleries (e.g. flickr photosets)\r\n- add tests\r\n\r\n\r\nCHANGES\r\n=======\r\n\r\n0.3.1\r\n-----\r\n\r\n- fix packaging (thanks to Marco Scheidhuber for reporting)\r\n\r\n0.3\r\n---\r\n\r\n- don't duplicate code/functionality that already exists in Kotti\r\n- 100% test coverage\r\n\r\n0.2\r\n---\r\n\r\n- Image inherits from File now.\r\n- Replaced repoze.bitblt based image scaling with much more powerful plone.scale based version.\r\n\r\n0.1\r\n---\r\n\r\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": "https://github.com/disko/kotti_image_gallery", "keywords": "image gallery bootstrap kotti cms pylons pyramid", "license": "BSD-derived (http://www.repoze.org/LICENSE.txt)", "maintainer": "", "maintainer_email": "", "name": "kotti_image_gallery", "package_url": "https://pypi.org/project/kotti_image_gallery/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/kotti_image_gallery/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/disko/kotti_image_gallery" }, "release_url": "https://pypi.org/project/kotti_image_gallery/0.3.2/", "requires_dist": null, "requires_python": null, "summary": "Add an image gallery to your Kotti site", "version": "0.3.2" }, "last_serial": 676440, "releases": { "0.3": [ { "comment_text": "", "digests": { "md5": "e46abf040c749866f2ce31d1d7b8e874", "sha256": "81e402cb91682b2f72aed70ea1c6ca7e4610f820fd7f2a44faea647bc18cde08" }, "downloads": -1, "filename": "kotti_image_gallery-0.3.tar.gz", "has_sig": false, "md5_digest": "e46abf040c749866f2ce31d1d7b8e874", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5474, "upload_time": "2012-04-24T16:37:48", "url": "https://files.pythonhosted.org/packages/93/a9/f8df8139172b0690890596c668dbbad8a453446c7af9e455050b3de00a3a/kotti_image_gallery-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "cfcae954d756a4db5c1813932ffd9071", "sha256": "82d11971cd91963240f67a33dfb3b6b359d05c5b159ff9f53e495ef9dc233b72" }, "downloads": -1, "filename": "kotti_image_gallery-0.3.1.tar.gz", "has_sig": false, "md5_digest": "cfcae954d756a4db5c1813932ffd9071", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6819, "upload_time": "2012-04-26T19:17:42", "url": "https://files.pythonhosted.org/packages/19/a7/bc51baf02bdd4ebdb62ae2aac0d394da50c6dd4a61e70233d17974a61c94/kotti_image_gallery-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "52a52fd39c000d33f2ca00643768618c", "sha256": "4862cbbadb6ab3c3cdc68fc753d83c52848a0d54de10a436957501d770a7259a" }, "downloads": -1, "filename": "kotti_image_gallery-0.3.2.tar.gz", "has_sig": false, "md5_digest": "52a52fd39c000d33f2ca00643768618c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6831, "upload_time": "2012-05-04T11:29:15", "url": "https://files.pythonhosted.org/packages/cf/4b/ebf22869948f635bb0badd98b5426265f1eb119d08aff3b84dce23573a68/kotti_image_gallery-0.3.2.tar.gz" } ], "0.3dev": [ { "comment_text": "", "digests": { "md5": "1a7e99ec61e00e701004491a7934f56e", "sha256": "3a9b994e526cfcbaa1e9c38f510d55b59e4ee7ac7eb52bd6be713208fea870f4" }, "downloads": -1, "filename": "kotti_image_gallery-0.3dev.tar.gz", "has_sig": false, "md5_digest": "1a7e99ec61e00e701004491a7934f56e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5473, "upload_time": "2012-04-24T16:36:32", "url": "https://files.pythonhosted.org/packages/af/9a/87c6e80ef352fa4ee97768daed91c8cbbf3b519391611aff45fc2126756a/kotti_image_gallery-0.3dev.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "52a52fd39c000d33f2ca00643768618c", "sha256": "4862cbbadb6ab3c3cdc68fc753d83c52848a0d54de10a436957501d770a7259a" }, "downloads": -1, "filename": "kotti_image_gallery-0.3.2.tar.gz", "has_sig": false, "md5_digest": "52a52fd39c000d33f2ca00643768618c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6831, "upload_time": "2012-05-04T11:29:15", "url": "https://files.pythonhosted.org/packages/cf/4b/ebf22869948f635bb0badd98b5426265f1eb119d08aff3b84dce23573a68/kotti_image_gallery-0.3.2.tar.gz" } ] }