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
For sites based on Plone 3.x use stxnext.grayscale v 1.0.0
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.
License
This package is licensed under the Zope Public License.
Changelog
2.0.0 (2013-11-20)
Integration with Plone 4.3 [radekj]
Executing the registered html transforms (diazo, tiles, …) [radekj]
Abandoned compatibility with Plone 3.x [radekj]
1.0.0 (2012-05-21)
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file stxnext.grayscale-2.0.0a1.tar.gz
.
File metadata
- Download URL: stxnext.grayscale-2.0.0a1.tar.gz
- Upload date:
- Size: 98.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79f8d350752e6d85c9bbebf52b617d0e3583c3144b0124d6cd16cea5202e450c |
|
MD5 | 0efacb93006fb0cea2246ac0b25ae335 |
|
BLAKE2b-256 | d434b9c4389aa1df644669889cd21e0d581980a01b2c38904f26e526706c0825 |