stxnext.grayscale
Plone add-on product for displaying the content in grayscale.
Project Description
stxnext.grayscale
Introduction
The stxnext.grayscale package is an add-on Product for Plone that gives the possibility of displaying the web content of the site in the grayscale colors.
Colors transformation
The images are transformed on-the-fly using the PIL library.
The css and html documents are transformed with regular expression to substitute the colors definitions with their grayscale equivalent values.
In Plone 4 (with plone.resource package installed) the transformed resources (images, css files) are cached in the file system to avoid multiple transformation of the same resource.
Installation
Plone 3
1. Add stxnext.grayscale to your plone.recipe.zope2instance section's eggs (Note the use of the [Zope2.10] extra, which brings in the ZPublisherEventsBackport package for forward compatibility with Zope 2.12 / Plone 4):
[instance]
recipe = plone.recipe.zope2instance
...
eggs =
...
stxnext.grayscale [Zope2.10]
- Install the Product via portal_quickinstaller.
Plone 4
1. Add stxnext.grayscale to your plone.recipe.zope2instance section's eggs. Define the resources parameter to point to the existing directory where the transformed resources will be stored to avoid multiple transformation of the same resource:
[instance]
recipe = plone.recipe.zope2instance
...
resources = ${buildout:directory}/var/resources
...
eggs =
...
stxnext.grayscale
- Install the Product via portal_quickinstaller
Configuration
In the stxnext.grayscale tool's control panel (/@@grayscale_settings) choose the Plone skins to be transformed to grayscale colors.
Author & Contact
- Radosław Jankiewicz radoslaw.jankiewicz@stxnext.pl
- Sebastian Kalinowski sebastian.kalinowski@stxnext.pl
- Krzysztof Skarupa krzysztof.skarupa@stxnext.pl
STX Next Sp. z o.o.
License
This package is licensed under the Zope Public License.
Self-Certification
[X] Internationalized
[X] Unit tests
[X] End-user documentation
[X] Internal documentation (documentation, interfaces, etc.)
[ ] Existed and maintained for at least 6 months
[X] Installs and uninstalls cleanly
[X] Code structure follows best practice
Current Release
stxnext.grayscale 1.0.0
Released May 21, 2012 — tested with Plone 4.1, Plone 4, Plone 3
Initial release
More about this release…
-
Get
stxnext.grayscale
for
all platforms
- stxnext.grayscale-1.0.0.tar.gz
- If you are using Plone 3.2 or higher, you probably want to install this product with buildout. See our tutorial on installing add-on products with buildout for more information.
All Releases
| Version | Released | Description | Compatibility | Licenses | Status |
|---|---|---|---|---|---|
| 1.0.0 | May 21, 2012 | Initial release More about this release… |
Plone 4.1
Plone 4
Plone 3
|
ZPL | final |
