{ "info": { "author": "Andre Goncalves", "author_email": "andre@intk.com", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Programming Language :: Python" ], "description": "Features\n============\n\n- Adds a slideshow to dexterity folderish types\n- Easy to adapt to custom dexterity types\n- Easy to upload multiple images using drag and drop\n- Easy to include youtube and vimeo videos in the slideshow\n\n- Adds a media view that shows the first image of the slideshow in folders and collections\n- Slideshow shows image description as caption\n- Uses slick carousel by Ken Wheeler (adaptable to other carousels)\n\n|eventview|\n\n.. |eventview| image:: http://dev.intk.com/lead_media_screen_view.png\n\nHow it works\n============\n\nAn administrator can choose which types are upgraded with slideshow functionality by adding a 'slideshow' behaviour via the 'Site Setup\u2019/'Dexterity content types\u2019. A folder named \u2019slideshow\u2019 appears inside of items with slideshow behaviour. Using drag and drop functionality multiple images can be uploaded to the slideshow folder. A slideshow with the several images appears automatically in the view of any item that contains more than one image int the \u2018slideshow' folder. In case the folder contains only one image, the view shows the image but not the next/previous buttons. In case the folder contains no images, the slideshow does not appear in the page.\n\nVideos from YouTube and Vimeo can also be added to the slideshow. Create an item of type link inside the slideshow folder pointing to the video on youtube or Vimeo. Make sure the URL is a canonic YouTube or Vimeo url.\n\nImplementation details\n===================================\n- Folderish content types are adapted with ICanContainMedia interface that provides MediaHandling class. This class adds functionallity to set the leading media.\n- There is two FieldIndex and metadata added to portal_catalog: hasMedia (True/False) and leadMedia (UID of the leading picture).\n- An event handler is added to folderish content types and is triggered on modified events. This event updates the indexes in the portal_catalog.\n\nDependencies\n============\n\n- collective.folderishtypes\n- collective.slickslideshow\n- collective.quickupload\n- collective.FolderContentsPortletManager\n\nHow to use a different carousel?\n===================================\n\nThe list of images available in the slideshow folder are being returned by the view /slideshowListing.\n\nThe view returns a json with the following format::\n\t\n\t{\n\t url: image URL,\n\t UID: Object UID\n\t}\n\nThe details of each image are being returned by the view http://url/to/image/get_slideshow_item\n\nThis view returns a json with the following format::\n\t\n\t{\n\t type: The type of the item\n\t description: Item description\n\t title: Item title\n\t}\n\nThese views can be reached by AJAX calls.\nUse your carousel API to add the slides. \n\nTodo\n============\n\n- Use collective.upload once is ready for production;\n- Add collective.quickupload portlet automatically to Folder contents portlet manager\n- Slideshow behaviour should only be added to folderish types\n- How to retrieve the picture that appears as leading while using lead media a more efficient or correctly way?\n\nChangelog\n============\n\n0.1 (2014-11-12)\n-------------------\n\n- Initial release", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/collective/collective.leadmedia/tarball/0.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/collective/collective.leadmedia", "keywords": "Plone", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "collective.leadmedia", "package_url": "https://pypi.org/project/collective.leadmedia/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.leadmedia/", "project_urls": { "Download": "https://github.com/collective/collective.leadmedia/tarball/0.1", "Homepage": "https://github.com/collective/collective.leadmedia" }, "release_url": "https://pypi.org/project/collective.leadmedia/0.1/", "requires_dist": null, "requires_python": null, "summary": "Adds a slideshow to any dexterity folderish type.", "version": "0.1" }, "last_serial": 1305388, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "cfe62ac36464ebf811601c58c7b0ac4f", "sha256": "186c93ada581e6478792b15865aa1e02107f454af2965fb91223da184938e71d" }, "downloads": -1, "filename": "collective.leadmedia-0.0.1.tar.gz", "has_sig": false, "md5_digest": "cfe62ac36464ebf811601c58c7b0ac4f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21484, "upload_time": "2014-11-12T09:10:28", "url": "https://files.pythonhosted.org/packages/df/58/cf56e69be935a54c15a909d6c5ea94797e06b181f20c7b61d68a2cf3b6f4/collective.leadmedia-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "e296b65348f00aae4c4f0a4e6d9accf1", "sha256": "cbf87d2a56659ca538cc8e046231f002b5e2214beeb47020e4d0738028e19aa4" }, "downloads": -1, "filename": "collective.leadmedia-0.0.2.tar.gz", "has_sig": false, "md5_digest": "e296b65348f00aae4c4f0a4e6d9accf1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21513, "upload_time": "2014-11-12T11:10:01", "url": "https://files.pythonhosted.org/packages/74/3f/b0d06b7c406afa8e166aaecd7e74adad201f4f1ef764c32a768bb6fdf63b/collective.leadmedia-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "7c2e5af0d2da119de93f9a2c499fb6d2", "sha256": "77a4885286b26d4880c6200a38f51433e87ee4a0f869000af5a142b6d85afa1c" }, "downloads": -1, "filename": "collective.leadmedia-0.0.3.tar.gz", "has_sig": false, "md5_digest": "7c2e5af0d2da119de93f9a2c499fb6d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23587, "upload_time": "2014-11-12T12:16:06", "url": "https://files.pythonhosted.org/packages/74/a2/ed132d6213833abf44e0e1b5f112c82c99536f9a72aa2b435fb293602d64/collective.leadmedia-0.0.3.tar.gz" } ], "0.1": [ { "comment_text": "", "digests": { "md5": "2845ae9ec692b56b99eb477d64640144", "sha256": "7d737c74dcdc5dbef2e77511f783e5888956748abe65249d9656a9a851101110" }, "downloads": -1, "filename": "collective.leadmedia-0.1.tar.gz", "has_sig": false, "md5_digest": "2845ae9ec692b56b99eb477d64640144", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24796, "upload_time": "2014-11-13T12:59:15", "url": "https://files.pythonhosted.org/packages/ad/34/15c4b494862fb88c941b3a79777ee3907e6c0842525cfad03e4a6f2e9cd8/collective.leadmedia-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2845ae9ec692b56b99eb477d64640144", "sha256": "7d737c74dcdc5dbef2e77511f783e5888956748abe65249d9656a9a851101110" }, "downloads": -1, "filename": "collective.leadmedia-0.1.tar.gz", "has_sig": false, "md5_digest": "2845ae9ec692b56b99eb477d64640144", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24796, "upload_time": "2014-11-13T12:59:15", "url": "https://files.pythonhosted.org/packages/ad/34/15c4b494862fb88c941b3a79777ee3907e6c0842525cfad03e4a6f2e9cd8/collective.leadmedia-0.1.tar.gz" } ] }