{ "info": { "author": "Raptus AG", "author_email": "dev@raptus.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Introduction\n============\n\nraptus.article.teaser provides support for adding a teaser image on article.\n\nThe following features for raptus.article are provided by this package:\n\nFields\n------\n * Provides an image field for the articles.\n\nComponents\n----------\n * raptus.article.teaser.full\n * raptus.article.teaser.right\n * raptus.article.teaser.left\n\nDependencies\n------------\n * collective.flowplayer\n * Products.ContentTypeValidator\n * raptus.article.core\n * plone.app.imaging\n\n\nConfiguration\n-------------\n\nJS Picture Galleries\n````````````````````\n\nBy default this component opens images in a `Products.jsImagePopups`_ gallery.\n\nTo use `collective.prettyphoto`_ install the package and set the property\n``teaser_rel_attribute`` to ``prettyPhoto``.\n\n.. _`Products.jsImagePopups`: http://pypi.python.org/pypi/Products.jsImagePopups\n\n.. _`collective.prettyphoto`: http://pypi.python.org/pypi/collective.prettyphoto\n\n\nplone.app.imaging\n`````````````````\n\nTo use plone.app.imaging scales simply set the corresponding properties to the name\nif the image scale.\n\nIf present, those will overrule the width and height settings.\n\navailable properties:\n\n* teaser_thumb_scale\n* teaser_left_scale\n* teaser_full_scale\n* teaser_popup_scale\n\n\nInstallation\n============\n\nTo install raptus.article.teaser into your Plone instance, locate the file\nbuildout.cfg in the root of your Plone instance directory on the file system,\nand open it in a text editor.\n\nAdd the actual raptus.article.teaser add-on to the \"eggs\" section of\nbuildout.cfg. Look for the section that looks like this::\n\n eggs =\n Plone\n\nThis section might have additional lines if you have other add-ons already\ninstalled. Just add the raptus.article.teaser on a separate line, like this::\n\n eggs =\n Plone\n raptus.article.teaser\n\nNote that you have to run buildout like this::\n\n $ bin/buildout\n\nThen go to the \"Add-ons\" control panel in Plone as an administrator, and\ninstall or reinstall the \"raptus.article.default\" product.\n\nNote that if you do not use the raptus.article.default package you have to\ninclude the zcml of raptus.article.teaser either by adding it\nto the zcml list in your buildout or by including it in another package's\nconfigure.zcml.\n\nPlone 3 compatibility\n---------------------\n\nThis packages requires plone.app.imaging which requires two pins in buildout\nwhen using Plone 3, which there are::\n\n Products.Archetypes = 1.5.16\n plone.scale = 1.2\n\nMigration\n=========\n\nBlob-storage\n------------\n\ncall this view on myplone/@@blob-article-teaser-migration and run the migration.\nall media have a separate view at myplone/@@blob-article-media-migration.\n\nUsage\n=====\n\nComponents\n----------\nNavigate to the \"Components\" tab of your article and select one of the teaser image\ncomponents and press \"save and view\". Note that at the article requires an image to\nbe set in the edit form for the components to display.\n\nCopyright and credits\n=====================\n\nraptus.article is copyrighted by `Raptus AG `_ and licensed under the GPL.\nSee LICENSE.txt for details.\n\nDeveloper Manual\n================\n\nNote: You find a developer manual for raptus.article at \n`raptus.article.core `_.\nPlease have look there if you need more information.\n\nCode overview\n=============\n\nComponents\n----------\n\nplone.abovecontentbody\n``````````````````````\n- raptus.article.teaser.full\n- raptus.article.teaser.right\n- raptus.article.teaser.left\n\nInterfaces\n----------\n\nfile: interfaces.py\n```````````````````\n\n- ITeaser - (Handler for teaser thumbing and captioning)\n - getTeaserURL - method (Returns the url to the teaser image in the specific size.\n The sizes are taken from the raptus_article properties sheet and are formed by the following name schema:\n teaser__(height|width)\n \n If the ``teaser__scale`` property is set, the corresponding\n plone.app.imaging scale is used.\n \n - getTeaser - method (Returns the html tag of the teaser image in the specific size\n The sizes are taken from the raptus_article properties sheet and are formed by the following name schema:\n teaser__(height|width)\n \n If the ``teaser__scale`` property is set, the corresponding\n plone.app.imaging scale is used.\n \n - getSize - method (Returns the width and height registered for the specific size)\n \n I teaser__scale property is set it retuns the actual size of the\n scaled image.\n \n - getCaption - method (Returns the caption for the image)\n\nChangelog\n=========\n\n2.0b14 (2017-06-08)\n-------------------\n\n* Prevent UnicodeDecodeError when generating the teaser image output [skaeser]\n\n\n2.0b13 (2014-10-15)\n-------------------\n\n* Make the package compatible with plone.app.imagecropping >= 1.0\n\n2.0b12 (2014-06-16)\n-------------------\n\n* Add a property ``teaser_rel_attribute`` to be able to use a js-gallery\n product other than `Products.jsImagePopups`.\n\n eg set it to ``prettyPhoto`` to use `collective.prettyphoto`.\n\n (this fixes #2) [fRiSi]\n\n* Add properties ``teaser_*_scale`` to be able to use plone.app.imaging\n scales instead of the raptus.article image sizes.\n\n This allows us to use `plone.app.imagecropping`_ [fRiSi]\n\n .. _plone.app.imagecropping: https://pypi.python.org/pypi/plone.app.imagecropping\n\n\n\n\n2.0b11 (2013-07-22)\n-------------------\n\n* Use image scales defined in plone.app.imaging if it's available\n and hard-coded ones if it's not. [fRiSi]\n* Make teaser images croppable using plone.app.imagecropping if\n it's installed. [fRiSi]\n\n2.0b10 (2013-07-01)\n-------------------\n\n* No longer link to images if the displayed image is larger than the one linked to\n\n2.0b9 (2012-01-23)\n------------------\n\n* moved plone 4.1 compatibility fix into raptus.article.core to have it applied to\n the whole raptus.article suit\n* plone 4.1 compatibility by importing cmfcore permissions [fRiSi]\n\n2.0b8 (2011-02-22)\n------------------\n\n* add blob storage migration @@blob-article-teaser-migration\n\n2.0b7 (2010-12-07)\n------------------\n\n* Fixed French translations\n\n2.0b6 (2010-11-10)\n------------------\n\n* Added French translations\n\n2.0b5 (2010-10-24)\n------------------\n\n* Set zip_safe flag to False\n\n2.0b4 (2010-10-21)\n------------------\n\n* Updated readme and manual\n\n2.0b3 (2010-10-20)\n------------------\n\n* First public 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/Raptus/raptus.article.teaser", "keywords": "", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "raptus.article.teaser", "package_url": "https://pypi.org/project/raptus.article.teaser/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/raptus.article.teaser/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/Raptus/raptus.article.teaser" }, "release_url": "https://pypi.org/project/raptus.article.teaser/2.0b14/", "requires_dist": null, "requires_python": null, "summary": "Provides support for a teaser image.", "version": "2.0b14" }, "last_serial": 2935336, "releases": { "2.0b10": [ { "comment_text": "", "digests": { "md5": "d84cd1a19ae790ebbb2f51fe53d4dfad", "sha256": "72af2cda24197226fe46ad9b147f2a8d56e8b6dbaa8042d5ca361c2278453c21" }, "downloads": -1, "filename": "raptus.article.teaser-2.0b10.zip", "has_sig": false, "md5_digest": "d84cd1a19ae790ebbb2f51fe53d4dfad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33551, "upload_time": "2013-07-01T15:34:59", "url": "https://files.pythonhosted.org/packages/45/58/3882ea9efea52f433d6e60360780132c587f9f71d22170f6c61191128404/raptus.article.teaser-2.0b10.zip" } ], "2.0b11": [ { "comment_text": "", "digests": { "md5": "5617a605ac1b9aa8778e390a406983e8", "sha256": "e58d030f63c562a2507069d1be9015569d1f3e8225f033f4d3885fb7d3f5ff75" }, "downloads": -1, "filename": "raptus.article.teaser-2.0b11.zip", "has_sig": false, "md5_digest": "5617a605ac1b9aa8778e390a406983e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34034, "upload_time": "2013-07-22T08:21:26", "url": "https://files.pythonhosted.org/packages/fd/d1/3059d43c94e9bfa63475ff26f5806810258918a0288fbf33da8c7b2d39cf/raptus.article.teaser-2.0b11.zip" } ], "2.0b12": [ { "comment_text": "", "digests": { "md5": "383302dab1f9c65ab7e8f332a9089fc6", "sha256": "78cba4b8c0a136c558d376d3c6d3d664ca38c2d3ff2894b473ce159c4388b001" }, "downloads": -1, "filename": "raptus.article.teaser-2.0b12.zip", "has_sig": false, "md5_digest": "383302dab1f9c65ab7e8f332a9089fc6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38175, "upload_time": "2014-06-16T07:17:55", "url": "https://files.pythonhosted.org/packages/99/1b/a5b61c3d73c7b04f3ef6743f367e83ddf1648173d2a300842e0087aa793d/raptus.article.teaser-2.0b12.zip" } ], "2.0b13": [ { "comment_text": "", "digests": { "md5": "dcb0f3a525c2a32de1b6d1660ca07f9d", "sha256": "00ae85e2aeeaeaf2b7ab6c3040368f31f43ef15c4b4c1654c52b87c68d9cc840" }, "downloads": -1, "filename": "raptus.article.teaser-2.0b13.zip", "has_sig": false, "md5_digest": "dcb0f3a525c2a32de1b6d1660ca07f9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38251, "upload_time": "2014-10-15T12:15:08", "url": "https://files.pythonhosted.org/packages/6a/26/20ceea65de30ff21e1e2cb41a8788f6df8b9b9c18f69053933ebc30bdcad/raptus.article.teaser-2.0b13.zip" } ], "2.0b14": [ { "comment_text": "", "digests": { "md5": "f59ae05a5f338ab3be9249f805fc03bd", "sha256": "c219244c5abe4c52a40dcac1d570ef178781250ed799942f7c2e7e343683a242" }, "downloads": -1, "filename": "raptus.article.teaser-2.0b14.zip", "has_sig": false, "md5_digest": "f59ae05a5f338ab3be9249f805fc03bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38446, "upload_time": "2017-06-08T12:29:56", "url": "https://files.pythonhosted.org/packages/7e/55/bbc390110755e527bf65db2503138b334e3081a7bc7f2ad1a5d851d63ab9/raptus.article.teaser-2.0b14.zip" } ], "2.0b3": [ { "comment_text": "", "digests": { "md5": "212f3bdb1f5629b53ff17971cfe92495", "sha256": "30a6111262e9efb1e8c91826bf1b0c85589454bf1ddbdf15da84f09e2d4729b8" }, "downloads": -1, "filename": "raptus.article.teaser-2.0b3.tar.gz", "has_sig": false, "md5_digest": "212f3bdb1f5629b53ff17971cfe92495", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17344, "upload_time": "2010-10-20T16:20:48", "url": "https://files.pythonhosted.org/packages/87/da/d7ba7859d8f74ac6608a0e6f01dc3e8776bc297885b5a35aeb4fb5356e68/raptus.article.teaser-2.0b3.tar.gz" } ], "2.0b4": [ { "comment_text": "", "digests": { "md5": "a9048fbd21a068a297acb5582f32d3a6", "sha256": "6fefe0a3dc3d4cb85a01e436427b0b166535af8f6c7d691f8c1360a3b3f0b1ca" }, "downloads": -1, "filename": "raptus.article.teaser-2.0b4.tar.gz", "has_sig": false, "md5_digest": "a9048fbd21a068a297acb5582f32d3a6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17435, "upload_time": "2010-10-21T16:26:01", "url": "https://files.pythonhosted.org/packages/8d/3f/37a2075a2a017e4366c7a3291ced0044c8846cf72f41b4cc555265e4b797/raptus.article.teaser-2.0b4.tar.gz" } ], "2.0b5": [ { "comment_text": "", "digests": { "md5": "755dc8b4db3911cb008260540ef857f0", "sha256": "e3ae8d4bf6209ad805d217d622b8e44a38b78a31fe1d1d9bacf696dded72d6cf" }, "downloads": -1, "filename": "raptus.article.teaser-2.0b5.tar.gz", "has_sig": false, "md5_digest": "755dc8b4db3911cb008260540ef857f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17498, "upload_time": "2010-10-24T15:03:35", "url": "https://files.pythonhosted.org/packages/ad/31/7b139cc2b11918b310831dcbd08609415a71ff1d703517e2a04c1ea4097a/raptus.article.teaser-2.0b5.tar.gz" } ], "2.0b6": [ { "comment_text": "", "digests": { "md5": "65a9972bae698cec851677c74ca11409", "sha256": "bac3c97b4c9c8ff9125cef7147e862a19ad6e8fd169cd9f999573580f898d2ca" }, "downloads": -1, "filename": "raptus.article.teaser-2.0b6.tar.gz", "has_sig": false, "md5_digest": "65a9972bae698cec851677c74ca11409", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17838, "upload_time": "2010-11-10T11:53:17", "url": "https://files.pythonhosted.org/packages/23/03/64228bb0dacd9902fbe066e69af0de46d63a562b40e28848ce9b6febb936/raptus.article.teaser-2.0b6.tar.gz" } ], "2.0b7": [ { "comment_text": "", "digests": { "md5": "11f4c844878eeb97ba40b3107b876eaf", "sha256": "c4aa4041d6c7ed463838cbe611f8c8cff988292d024cdc871a987fafad630eb3" }, "downloads": -1, "filename": "raptus.article.teaser-2.0b7.tar.gz", "has_sig": false, "md5_digest": "11f4c844878eeb97ba40b3107b876eaf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16939, "upload_time": "2010-12-07T10:20:47", "url": "https://files.pythonhosted.org/packages/8e/6d/d703d55b65d9f0c5c31beeb3ea9b27c8fe1f82b7636c37b1aafc424e1110/raptus.article.teaser-2.0b7.tar.gz" } ], "2.0b8": [ { "comment_text": "", "digests": { "md5": "27f812faa260eed5416ee8b7a3a88f27", "sha256": "bec3c8d7ddc5c6b7783e5d11f5c95e80012171789b3052ad87d1b6d85d950353" }, "downloads": -1, "filename": "raptus.article.teaser-2.0b8.tar.gz", "has_sig": false, "md5_digest": "27f812faa260eed5416ee8b7a3a88f27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18046, "upload_time": "2011-02-22T15:27:25", "url": "https://files.pythonhosted.org/packages/e9/2f/4feaffa6ea5ab7be5420305a3fe6f38b63ae8dadeadb22e133efdf22ef16/raptus.article.teaser-2.0b8.tar.gz" } ], "2.0b9": [ { "comment_text": "", "digests": { "md5": "7962dad3d7362eef65d4caff37af7552", "sha256": "19f305dcfe3d5c4c0cf9f9e5af8fc46822b0ef80b1f396202fa11d4a1bf3e358" }, "downloads": -1, "filename": "raptus.article.teaser-2.0b9.tar.gz", "has_sig": false, "md5_digest": "7962dad3d7362eef65d4caff37af7552", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19925, "upload_time": "2012-01-23T10:05:54", "url": "https://files.pythonhosted.org/packages/3c/9f/59c561b1ff60c51ee29602b41aef44e9d32599fc301023bcd7bf9b9737c2/raptus.article.teaser-2.0b9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f59ae05a5f338ab3be9249f805fc03bd", "sha256": "c219244c5abe4c52a40dcac1d570ef178781250ed799942f7c2e7e343683a242" }, "downloads": -1, "filename": "raptus.article.teaser-2.0b14.zip", "has_sig": false, "md5_digest": "f59ae05a5f338ab3be9249f805fc03bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38446, "upload_time": "2017-06-08T12:29:56", "url": "https://files.pythonhosted.org/packages/7e/55/bbc390110755e527bf65db2503138b334e3081a7bc7f2ad1a5d851d63ab9/raptus.article.teaser-2.0b14.zip" } ] }