{ "info": { "author": "BlueDynamics Alliance", "author_email": "dev@bluedynamics.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Plone", "Framework :: Plone :: 4.1", "Framework :: Plone :: 4.2", "Framework :: Plone :: 4.3", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development" ], "description": "collective.contextimage\n=======================\n\nProvide extension fields for context specific images and markup. This elements\ncan be used as layout elements. If the current context does not provide the\nspecific context related field, it is aquired from its parents. \n\nIt is useful i.e.\n \n- if you like to have a different logo or header background on different\n sections of your site,\n- if you want to set a background image for your content,\n- if you want to place an image in context somehwere in the page using a \n viewlet.\n\nSeparate schema extenders are provided with corresponsing renderers bound to \nbrowserlayers loaded by different profiles. This way its possible to enable\nonly one of the several features:\n\n*Viewlet context image*\n An image which gets rendered by a viewlet as ``img`` tag. Profile is\n ``profile-collective.contextimage:viewlet``.\n\n*Header context image*\n An image which gets rendered as portal header background. Profile is\n ``profile-collective.contextimage:header``.\n\n*Page context image*\n An image which gets rendered as page background. Profile is\n ``profile-collective.contextimage:page``.\n\n*Logo context image*\n An image which gets rendered as portal logo. This is a drop in replacement\n for the logo viewlet with fallback to default logo). Profile is\n ``profile-collective.contextimage:logo``.\n\n*Footer Viewlet*\n Richtext which can be displayed as portal footer. Profile is\n ``profile-collective.contextimage:footer``.\n\n\nInstallation\n============\n\nJust depend in your buildout on the egg ``collective.conteximage``. ZCML is\nloaded automagically with z3c.autoinclude.\n\nInstall it as an addon in Plone control-panel or portal_setup.\n\nThis package is written for Plone 4.1 or later.\n\nYou need to enable context image extending by applying marker interfaces via\nZCML. I.e., if all extensions should be potentially available to all\n``Products.Archetypes.BaseObject.BaseObject`` deriving types, add following in\nyour ``configure.zcml``::\n\n \n \n \n \n \n \n \n\nEach of the features can be activated now by importing the refering\nGenericSetup profile.\n\nIf i.e. page background and header image support is desired, add\nfollowing to integration GS profile ``metadata.xml``::\n\n \n \n 1\n \n profile-collective.contextimage:page\n profile-collective.contextimage:header\n \n \n\nYou can also install the profiles by going to /portal_setup.\n\n\nTroubleshoting\n==============\n\nYou might get an error if you try to use an image with the same name as one in your theme/skins folder.\nSo: If you theme uses an image with name 'logo.png' you might not be able to use 'logo.png' \nas contextualimage (rename it before you upload it).\n\n\nSource Code and Contributions\n=============================\n\nIf you want to help with the development (improvement, update, bug-fixing, ...)\nof ``collective.contextimage`` this is a great idea!\n\nThe code is located in the\n`github collective `_.\n\nYou can clone it or `get access to the github-collective\n`_ and work directly on the project.\n\nMaintainer is Robert Niederreiter and the BlueDynamics Alliance developer team.\nWe appreciate any contribution and if a release is needed to be done on pypi,\nplease just contact one of us\n`dev@bluedynamics dot com `_\n\n\nContributors\n============\n\n- Robert Niederreiter \n\n- Jens W. Klein \n\n- Espen Moe-Nilssen \n\nHistory\n=======\n\n1.3.2 (2015-05-29)\n------------------\n\n- deliver default image resources always relative to navigation url\n [jensens]\n\n1.3.1\n-----\n\n- Use ``zope.interface.implementer`` and ``zope.component.adapter`` instead of\n ``zope.interface.implements`` and ``zope.component.adapts``.\n [rnix]\n\n- Return original order in base extender.\n [rnix]\n\n1.3\n---\n\n- Add permissions for each schema extender and make extension fields editable\n for Managers and Site Administrators.\n [rnix]\n\n1.2.1\n-----\n\n- Display condition for footer.\n [espen]\n\n1.2\n---\n\n- Context image extension feature availability is now controlled by marker\n interfaces.\n [rnix]\n\n1.1.1\n-----\n\n- Cleanup viewlets.\n [rnix]\n\n- Add documentation for footer viewlet.\n [rnix]\n\n- CSS viewlets can define ``media``.\n [rnix]\n\n1.1\n---\n\n- All Extender fields in 'settings' schema.\n [rnix]\n\n- Context footer added.\n [espen]\n\n1.0.1\n-----\n\n- released after adding some more documentation.\n [jensens]\n\n0.5\n---\n\n- drop in replacement for portal logo added.\n [jensens]\n\n- polished setup.py et al.\n [jensens]\n\n0.4\n---\n\n- separate context images for portal background, header background and viewlet.\n [rnix]\n\n0.3\n---\n\n- add viewlet for using context image as header background\n [rnix]\n\n0.2\n---\n\n- typos\n [rnix]\n\n0.1\n---\n\n- initial\n [rnix]\n\n \nLicense\n=======\n\nCopyright (c) 2011-2015, BlueDynamics Alliance, Austria, Switzerland, Germany\n\nGNU GENERAL PUBLIC LICENSE \n\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. This License applies to any program or other work which contains\n a notice placed by the copyright holder saying it may be distributed\n under the terms of this General Public License. The \"Program\", below,\n refers to any such program or work, and a \"work based on the Program\"\n means either the Program or any derivative work under copyright law:\n that is to say, a work containing the Program or a portion of it,\n either verbatim or with modifications and/or translated into another\n language. (Hereinafter, translation is included without limitation in\n the term \"modification\".) Each licensee is addressed as \"you\".\n\n Activities other than copying, distribution and modification are not\n covered by this License; they are outside its scope. The act of\n running the Program is not restricted, and the output from the Program\n is covered only if its contents constitute a work based on the\n Program (independent of having been made by running the Program).\n Whether that is true depends on what the Program does.\n\n1. You may copy and distribute verbatim copies of the Program's\n source code as you receive it, in any medium, provided that you\n conspicuously and appropriately publish on each copy an appropriate\n copyright notice and disclaimer of warranty; keep intact all the\n notices that refer to this License and to the absence of any warranty;\n and give any other recipients of the Program a copy of this License\n along with the Program.\n\n You may charge a fee for the physical act of transferring a copy, and\n you may at your option offer warranty protection in exchange for a fee.\n\n2. You may modify your copy or copies of the Program or any portion\n of it, thus forming a work based on the Program, and copy and\n distribute such modifications or work under the terms of Section 1\n above, provided that you also meet all of these conditions:\n\n a) You must cause the modified files to carry prominent notices\n stating that you changed the files and the date of any change.\n\n b) You must cause any work that you distribute or publish, that in\n whole or in part contains or is derived from the Program or any\n part thereof, to be licensed as a whole at no charge to all third\n parties under the terms of this License.\n\n c) If the modified program normally reads commands interactively\n when run, you must cause it, when started running for such\n interactive use in the most ordinary way, to print or display an\n announcement including an appropriate copyright notice and a\n notice that there is no warranty (or else, saying that you provide\n a warranty) and that users may redistribute the program under\n these conditions, and telling the user how to view a copy of this\n License. (Exception: if the Program itself is interactive but\n does not normally print such an announcement, your work based on\n the Program is not required to print an announcement.)\n\n These requirements apply to the modified work as a whole. If\n identifiable sections of that work are not derived from the Program,\n and can be reasonably considered independent and separate works in\n themselves, then this License, and its terms, do not apply to those\n sections when you distribute them as separate works. But when you\n distribute the same sections as part of a whole which is a work based\n on the Program, the distribution of the whole must be on the terms of\n this License, whose permissions for other licensees extend to the\n entire whole, and thus to each and every part regardless of who wrote it.\n\n Thus, it is not the intent of this section to claim rights or contest\n your rights to work written entirely by you; rather, the intent is to\n exercise the right to control the distribution of derivative or\n collective works based on the Program.\n \n In addition, mere aggregation of another work not based on the Program\n with the Program (or with a work based on the Program) on a volume of\n a storage or distribution medium does not bring the other work under\n the scope of this License.\n\n3. You may copy and distribute the Program (or a work based on it,\n under Section 2) in object code or executable form under the terms of\n Sections 1 and 2 above provided that you also do one of the following:\n \n a) Accompany it with the complete corresponding machine-readable\n source code, which must be distributed under the terms of Sections\n 1 and 2 above on a medium customarily used for software interchange; or, \n\n b) Accompany it with a written offer, valid for at least three\n years, to give any third party, for a charge no more than your\n cost of physically performing source distribution, a complete\n machine-readable copy of the corresponding source code, to be\n distributed under the terms of Sections 1 and 2 above on a medium\n customarily used for software interchange; or, \n\n c) Accompany it with the information you received as to the offer\n to distribute corresponding source code. (This alternative is\n allowed only for noncommercial distribution and only if you\n received the program in object code or executable form with such\n an offer, in accord with Subsection b above.)\n\n The source code for a work means the preferred form of the work for\n making modifications to it. For an executable work, complete source\n code means all the source code for all modules it contains, plus any\n associated interface definition files, plus the scripts used to\n control compilation and installation of the executable. However, as a\n special exception, the source code distributed need not include\n anything that is normally distributed (in either source or binary\n form) with the major components (compiler, kernel, and so on) of the\n operating system on which the executable runs, unless that component\n itself accompanies the executable. \n\n If distribution of executable or object code is made by offering\n access to copy from a designated place, then offering equivalent\n access to copy the source code from the same place counts as\n distribution of the source code, even though third parties are not\n compelled to copy the source along with the object code. \n\n4. You may not copy, modify, sublicense, or distribute the Program\n except as expressly provided under this License. Any attempt\n otherwise to copy, modify, sublicense or distribute the Program is\n void, and will automatically terminate your rights under this License.\n However, parties who have received copies, or rights, from you under\n this License will not have their licenses terminated so long as such\n parties remain in full compliance.\n\n5. You are not required to accept this License, since you have not\n signed it. However, nothing else grants you permission to modify or\n distribute the Program or its derivative works. These actions are\n prohibited by law if you do not accept this License. Therefore, by\n modifying or distributing the Program (or any work based on the\n Program), you indicate your acceptance of this License to do so, and\n all its terms and conditions for copying, distributing or modifying\n the Program or works based on it.\n\n6. Each time you redistribute the Program (or any work based on the\n Program), the recipient automatically receives a license from the\n original licensor to copy, distribute or modify the Program subject to\n these terms and conditions. You may not impose any further\n restrictions on the recipients' exercise of the rights granted herein.\n You are not responsible for enforcing compliance by third parties to\n this License.\n\n7. If, as a consequence of a court judgment or allegation of patent\n infringement or for any other reason (not limited to patent issues),\n conditions are imposed on you (whether by court order, agreement or\n otherwise) that contradict the conditions of this License, they do not\n excuse you from the conditions of this License. If you cannot\n distribute so as to satisfy simultaneously your obligations under this\n License and any other pertinent obligations, then as a consequence you\n may not distribute the Program at all. For example, if a patent\n license would not permit royalty-free redistribution of the Program by\n all those who receive copies directly or indirectly through you, then\n the only way you could satisfy both it and this License would be to\n refrain entirely from distribution of the Program.\n\n If any portion of this section is held invalid or unenforceable under\n any particular circumstance, the balance of the section is intended to\n apply and the section as a whole is intended to apply in other\n circumstances.\n \n It is not the purpose of this section to induce you to infringe any\n patents or other property right claims or to contest validity of any\n such claims; this section has the sole purpose of protecting the\n integrity of the free software distribution system, which is\n implemented by public license practices. Many people have made\n generous contributions to the wide range of software distributed\n through that system in reliance on consistent application of that\n system; it is up to the author/donor to decide if he or she is willing\n to distribute software through any other system and a licensee cannot\n impose that choice.\n\n This section is intended to make thoroughly clear what is believed to\n be a consequence of the rest of this License.\n\n8. If the distribution and/or use of the Program is restricted in\n certain countries either by patents or by copyrighted interfaces, the\n original copyright holder who places the Program under this License\n may add an explicit geographical distribution limitation excluding\n those countries, so that distribution is permitted only in or among\n countries not thus excluded. In such case, this License incorporates\n the limitation as if written in the body of this License.\n \n9. The Free Software Foundation may publish revised and/or new versions\n of the General Public License from time to time. Such new versions will\n be similar in spirit to the present version, but may differ in detail to\n address new problems or concerns.\n \n Each version is given a distinguishing version number. If the Program\n specifies a version number of this License which applies to it and \"any\n later version\", you have the option of following the terms and conditions\n either of that version or of any later version published by the Free\n Software Foundation. If the Program does not specify a version number of\n this License, you may choose any version ever published by the Free Software\n Foundation.\n\n10. If you wish to incorporate parts of the Program into other free\n programs whose distribution conditions are different, write to the author\n to ask for permission. For software which is copyrighted by the Free\n Software Foundation, write to the Free Software Foundation; we sometimes\n make exceptions for this. Our decision will be guided by the two goals\n of preserving the free status of all derivatives of our free software and\n of promoting the sharing and reuse of software generally.\n\nNO WARRANTY\n\n11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\n FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\n OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\n PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\n OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\n TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\n PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\n REPAIR OR CORRECTION.\n\n12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\n WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\n REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\n INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\n OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\n TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\n YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\n PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\n POSSIBILITY OF SUCH DAMAGES.\n\nEND OF TERMS AND CONDITIONS", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/collective.contextimage", "keywords": "web zope plone theme viewlet logo header", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "collective.contextimage", "package_url": "https://pypi.org/project/collective.contextimage/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.contextimage/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/collective.contextimage" }, "release_url": "https://pypi.org/project/collective.contextimage/1.3.2/", "requires_dist": null, "requires_python": null, "summary": "Context sensitive images and markup from extended plone content as viewlet, header, logo, footer, ...", "version": "1.3.2" }, "last_serial": 3430751, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "2e533ba5b62cf7edb52623f189824e68", "sha256": "623c0e74f3380d780459aea1829e16f5442e877ac8add40d72b04f536ba79585" }, "downloads": -1, "filename": "collective.contextimage-1.0.tar.gz", "has_sig": false, "md5_digest": "2e533ba5b62cf7edb52623f189824e68", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11514, "upload_time": "2012-07-31T14:29:49", "url": "https://files.pythonhosted.org/packages/b0/1c/a6698505c32d2d800a5bff2638a4ffce3ac993dc9ff4108e6ab0e137261f/collective.contextimage-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "b40953a4078afb40ac51a74c5ccf7b02", "sha256": "d6fd659c3194c1d658fea428bebfbe4a642f4d50ec6aa396990856a3d702deb1" }, "downloads": -1, "filename": "collective.contextimage-1.0.1.tar.gz", "has_sig": false, "md5_digest": "b40953a4078afb40ac51a74c5ccf7b02", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19230, "upload_time": "2012-07-31T14:51:13", "url": "https://files.pythonhosted.org/packages/ea/2f/0bb8ffa00c9d5821cac002d511aef4a45437bb62ac923703013c654e48a9/collective.contextimage-1.0.1.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "42129911d2d116e2910c6ee352723d99", "sha256": "8b36c1bfdf21e95fa2c7836bb0aa7f022950080f9030c2cf92a6a561e56bfe7e" }, "downloads": -1, "filename": "collective.contextimage-1.1.tar.gz", "has_sig": false, "md5_digest": "42129911d2d116e2910c6ee352723d99", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17540, "upload_time": "2012-09-06T10:35:00", "url": "https://files.pythonhosted.org/packages/64/7f/49bd0eb2c3095ab2434cd543d7fc040650a92af91627fb7ad98b3be1d21c/collective.contextimage-1.1.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "0a746d25f0203bc9de907a4121d31ad6", "sha256": "b381320c75edb911f4dda0256fca0e0ef6b12d6b4b81336bb85b5ba7b12c0192" }, "downloads": -1, "filename": "collective.contextimage-1.1.1.tar.gz", "has_sig": false, "md5_digest": "0a746d25f0203bc9de907a4121d31ad6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17696, "upload_time": "2012-09-13T06:50:58", "url": "https://files.pythonhosted.org/packages/7e/3a/a1cef523da790aac5566f59755b8b42d1a396460331c30d55b8a3eb93f76/collective.contextimage-1.1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "0cdcc568a357095c2c2b4c169bcdf4c2", "sha256": "11085fe2ec1d7ee2202db4a8afec3c9034fa5891ba1f347ed6b2dfb12cc6819e" }, "downloads": -1, "filename": "collective.contextimage-1.2.tar.gz", "has_sig": false, "md5_digest": "0cdcc568a357095c2c2b4c169bcdf4c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18191, "upload_time": "2012-09-17T13:45:53", "url": "https://files.pythonhosted.org/packages/26/1a/e8325d9fdcba39c9237d672df1c52fee40ada09b1f2e67af37a6d238e9d9/collective.contextimage-1.2.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "fc4e223d3b41c51b7b8747649c5f9ffb", "sha256": "7deaa3ea42e3700e6ab720c39b67e062b935c44fac8c52f25fa66f23f7d179f2" }, "downloads": -1, "filename": "collective.contextimage-1.2.1.tar.gz", "has_sig": false, "md5_digest": "fc4e223d3b41c51b7b8747649c5f9ffb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18228, "upload_time": "2012-09-25T15:41:44", "url": "https://files.pythonhosted.org/packages/b9/5c/19e9071833e26e9f7ff86307e7c895419b733cac3362b6d1002e87f94f7e/collective.contextimage-1.2.1.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "6cd83ead454c63a6171358f05172f588", "sha256": "ba171fb02ee75f1a465fd904fea5815a802fc01b2a2fb4151af1f6e8015a8cf4" }, "downloads": -1, "filename": "collective.contextimage-1.3.tar.gz", "has_sig": false, "md5_digest": "6cd83ead454c63a6171358f05172f588", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18717, "upload_time": "2012-11-09T16:53:47", "url": "https://files.pythonhosted.org/packages/4e/dd/d5d50d92eede508301f2d18e5011b118830fb42edc6bd59d1f8caaa48e63/collective.contextimage-1.3.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "1c49e74429c5a47d7283e375fcf58f97", "sha256": "83a9241c56485d5249204708d4d6da7a808ae2d438c2d61206116413ecd55482" }, "downloads": -1, "filename": "collective.contextimage-1.3.1.tar.gz", "has_sig": false, "md5_digest": "1c49e74429c5a47d7283e375fcf58f97", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18655, "upload_time": "2013-04-03T12:31:20", "url": "https://files.pythonhosted.org/packages/6c/d1/8baf9494b239f0906b5ab10e7d5b7f2225b6ed3fb022ef5951135838484e/collective.contextimage-1.3.1.tar.gz" } ], "1.3.2": [ { "comment_text": "", "digests": { "md5": "f14d24d5b1587c588ffdf48f15d1720f", "sha256": "908c225322425b6134e3f1b2894b4f3ec4fab0ea6af4f24b95d0beeacce1710c" }, "downloads": -1, "filename": "collective.contextimage-1.3.2.tar.gz", "has_sig": false, "md5_digest": "f14d24d5b1587c588ffdf48f15d1720f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21830, "upload_time": "2015-05-29T16:37:48", "url": "https://files.pythonhosted.org/packages/5c/53/778d145e85cb5ae55c70fe738c1070dc6f85d7d9b73ac8c27d70f7037608/collective.contextimage-1.3.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f14d24d5b1587c588ffdf48f15d1720f", "sha256": "908c225322425b6134e3f1b2894b4f3ec4fab0ea6af4f24b95d0beeacce1710c" }, "downloads": -1, "filename": "collective.contextimage-1.3.2.tar.gz", "has_sig": false, "md5_digest": "f14d24d5b1587c588ffdf48f15d1720f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21830, "upload_time": "2015-05-29T16:37:48", "url": "https://files.pythonhosted.org/packages/5c/53/778d145e85cb5ae55c70fe738c1070dc6f85d7d9b73ac8c27d70f7037608/collective.contextimage-1.3.2.tar.gz" } ] }