Skip to main content

prettyPhoto integration 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 integrates prettyPhoto 2.5.6 into Plone.

Installing

This package requires Plone 3.x or later (tested on 3.3.5 and 4.0b5).

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.

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%)

Changelog

0.3.2 (2010-07-10)

  • Fixed install issue with Plone 4 (Large Plone Folder was removed). [hpeteragitator]

  • Set version in metadata.xml to 1, since this has nothing to do with the package version. [tmassman]

0.3.1 (2010-05-19)

  • Fixed version numbers and missing upgrade steps. [tmassman]

  • Added custom browserlayer. [tmassman]

  • Upgrade to prettyPhoto 2.5.6 [tmassman]

0.3 (2010-05-17)

  • Don’t fail when installing on sites w/o kupu (plone4 compatibility). [fRiSi]

0.2 (2010-01-03)

  • Fixed wrong kupu styles. [tmassman]

  • Added iFrame support (use ‘prettyPhoto Iframe Link’ for external sites) [tmassman]

0.1 (2009-12-29)

  • Initial release [tmassman]

Project details


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.3.2.tar.gz (56.5 kB view details)

Uploaded Source

Built Distribution

collective.prettyphoto-0.3.2-py2.6.egg (90.2 kB view details)

Uploaded Source

File details

Details for the file collective.prettyphoto-0.3.2.tar.gz.

File metadata

File hashes

Hashes for collective.prettyphoto-0.3.2.tar.gz
Algorithm Hash digest
SHA256 3cda80114e34c2d7751540cde928c069615c48086c8bdfef13a4f5346d3f9a3b
MD5 9faed085cb977a6d7692feea76d9d863
BLAKE2b-256 2d288afe22bd0f99d957c678eb135ad7f7ddc27501439f0ae78628a8862ddaf7

See more details on using hashes here.

Provenance

File details

Details for the file collective.prettyphoto-0.3.2-py2.6.egg.

File metadata

File hashes

Hashes for collective.prettyphoto-0.3.2-py2.6.egg
Algorithm Hash digest
SHA256 3480e5d10694288a99cf264e7645df03b5ac0b842af013dcd0bb2d1e9d6bcdca
MD5 a9ef2bb1fffa42b6c3633c349f739cec
BLAKE2b-256 f6eede349071494805242bae1565872249bb026abb85ef4782d34b400f10e6f8

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page