prettyPhoto implementation for Plone.
Project description
Introduction
============
prettyPhoto is a jQuery based lightbox clone. Not only does it support images,
it also add support for videos, flash, YouTube, iFrames. It's a full blown media
lightbox. The setup is easy and quick, plus the script is compatible in every
major browser.
The original implementation can be found here:
http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/
This plugin has been tested and is known to work in the following browsers
* Firefox 2.0+
* Safari 3.1.1+
* Opera 9+
* Internet Explorer 6.0+
'collective.prettyphoto' is an implementation of prettyPhoto for Plone.
Installing
==========
This package requires Plone 3.x or later (tested on 3.3.3).
Installing without buildout
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Install this package in either your system path packages or in the lib/python
directory of your Zope instance. You can do this using either easy_install or
via the setup.py script.
Installing with buildout
~~~~~~~~~~~~~~~~~~~~~~~~
If you are using `buildout`_ to manage your instance installing
collective.prettyphoto is even simpler. You can install
collective.prettyphoto by adding it to the eggs line for your instance::
[instance]
eggs = collective.prettyphoto
After updating the configuration you need to run the ''bin/buildout'', which
will take care of updating your system.
.. _buildout: http://pypi.python.org/pypi/zc.buildout
Usage
=====
collective.prettyphoto adds a new view for Topics, Folders and Large Plone
Folders: Thumbnail view (prettyPhoto).
To use prettyPhoto for inline elements just add 'prettyPhoto' from the styles
menu (Kupu and TinyMCE) to the link.
Configuration
=============
collective.prettyphoto can be customized via property sheet (go to ZMI,
portal_properties, prettyphoto_properties).
* theme:
* dark_rounded
* dark_square
* facebook
* light_rounded (default)
* light_square
* speed:
* fast
* normal (default)
* slow
* opacity: value from 0.0 to 1.0 (default: 0.80)
* show_title: show the title for images? (default: True)
* counter_sep: the separator for the gallery counter 1 "of" 2 (default: "/")
* autoplay: automatically start videos? (default: True)
* iframe_width: the width of the iframe (must be percantage, default: 75%)
* iframe_height: the height of the iframe (must be percantage, default: 75%)
Copyright and Credits
=====================
prettyPhoto is developed by Stephane Caron (http://www.no-margin-for-errors.com)
and is licensed under Creative Commons Attribution 2.5.
Author of collective.prettyphoto: Thomas Massmann (thomas.massmann@inqbus.de).
Changelog
=========
0.1
-------------------
- Initial release
0.2
-------------------
- Fixed wrong kupu styles
- Added iFrame support (use 'prettyPhoto Iframe Link' for external sites)
============
prettyPhoto is a jQuery based lightbox clone. Not only does it support images,
it also add support for videos, flash, YouTube, iFrames. It's a full blown media
lightbox. The setup is easy and quick, plus the script is compatible in every
major browser.
The original implementation can be found here:
http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/
This plugin has been tested and is known to work in the following browsers
* Firefox 2.0+
* Safari 3.1.1+
* Opera 9+
* Internet Explorer 6.0+
'collective.prettyphoto' is an implementation of prettyPhoto for Plone.
Installing
==========
This package requires Plone 3.x or later (tested on 3.3.3).
Installing without buildout
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Install this package in either your system path packages or in the lib/python
directory of your Zope instance. You can do this using either easy_install or
via the setup.py script.
Installing with buildout
~~~~~~~~~~~~~~~~~~~~~~~~
If you are using `buildout`_ to manage your instance installing
collective.prettyphoto is even simpler. You can install
collective.prettyphoto by adding it to the eggs line for your instance::
[instance]
eggs = collective.prettyphoto
After updating the configuration you need to run the ''bin/buildout'', which
will take care of updating your system.
.. _buildout: http://pypi.python.org/pypi/zc.buildout
Usage
=====
collective.prettyphoto adds a new view for Topics, Folders and Large Plone
Folders: Thumbnail view (prettyPhoto).
To use prettyPhoto for inline elements just add 'prettyPhoto' from the styles
menu (Kupu and TinyMCE) to the link.
Configuration
=============
collective.prettyphoto can be customized via property sheet (go to ZMI,
portal_properties, prettyphoto_properties).
* theme:
* dark_rounded
* dark_square
* light_rounded (default)
* light_square
* speed:
* fast
* normal (default)
* slow
* opacity: value from 0.0 to 1.0 (default: 0.80)
* show_title: show the title for images? (default: True)
* counter_sep: the separator for the gallery counter 1 "of" 2 (default: "/")
* autoplay: automatically start videos? (default: True)
* iframe_width: the width of the iframe (must be percantage, default: 75%)
* iframe_height: the height of the iframe (must be percantage, default: 75%)
Copyright and Credits
=====================
prettyPhoto is developed by Stephane Caron (http://www.no-margin-for-errors.com)
and is licensed under Creative Commons Attribution 2.5.
Author of collective.prettyphoto: Thomas Massmann (thomas.massmann@inqbus.de).
Changelog
=========
0.1
-------------------
- Initial release
0.2
-------------------
- Fixed wrong kupu styles
- Added iFrame support (use 'prettyPhoto Iframe Link' for external sites)
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
collective.prettyphoto-0.2.tar.gz
(53.3 kB
view hashes)
Built Distribution
Close
Hashes for collective.prettyphoto-0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5de34f84683807415ef68a9c53dc135698d1cceebf0da3568ad7801489090c99 |
|
MD5 | dddd7529ff2c64e8208f7cd0a614847e |
|
BLAKE2b-256 | 5b9102728dd5c0af4e074c1015288b1c3e86f0baee14a8c490bd402c8b24aa6c |
Close
Hashes for collective.prettyphoto-0.2-py2.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5d9432bb0a7d36b4d4874b1c4da6259c08aeec22e136c517495568ae30415ce |
|
MD5 | f7df4ac157696d455212cbade32b0959 |
|
BLAKE2b-256 | ad4b36cc990e3ab9ddbdc3b7ff6ddececd29b6bf71d7f37875541dd2ac70e1a2 |