Display an image gallery inside a Plone rich text area
Project description
Introduction
Creating a photo album or gallery in Plone is easy, just see Create a photo album.
This products makes it possible to include a gallery in a regular page.
Usage
When editing your page’s text in the text editor, add an internal link to the folder that contains your photos (your gallery).
Go into the HTML editor by clicking the editor’s HTML button, and add a class InlinePhotoAlbum to the link.
The link will be replaced by a rendering of the gallery. This is done by javascript, so if javascript is disabled, it will just display the link.
When clicked, the photos will be displayed in an overlay.
Features
Open photos in overlay
Batching
Install
Add Products.InlinePhotoAlbum to your buildout.
Compatibility
Tested on Plone 4.
Credits
Huub Bouma (creator)
Kees Hink (maintainer)
To do / Roadmap
Roadmap
1.4
this is not a good idea to replace link tag with img tags of all photos. If you have lots of photos it will make the browser die (I have done tests with 300 photos for collective.gallery. This is an issue. [toutpt]
An other thing: you wake up all objects to build the template, you should consider use brains from catalog query. The new plone.app.imaging need object, but the old way (brain.getURL() + ‘image_myscale’ still works [toutpt]
Future
Re-use Plone’s jQuery-lightbox code and CSS, if possible
Integrate with other gallery products, if possible:
Changelog
1.3rc2 (2010-11-10)
Modify description (in setup.py) to include the word Plone
Fix batching
1.3rc1 (2010-11-10)
Uploaded to Plone collective
Added documentation in README.txt
1.2 (2010-07-30)
number of photos per batch can be passed into the macro
1.1 (2010-07-19)
Modify javascript because our navigation now has a different class
1.0 (2010-06-15)
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
Hashes for Products.InlinePhotoAlbum-1.3rc2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e44862a511785aa6d33ffb0622af00a4f5a563d78b6e0465eb97465f8122ce8d |
|
MD5 | 5ac88849e8eb907432e0426d6a2bd72c |
|
BLAKE2b-256 | 6c4da98d83d4e706f25dc17f9de8225c40376f707dc74afaea875ad21fe83afd |