Skip to main content

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Products.InlinePhotoAlbum-1.3rc2.tar.gz (23.0 kB view hashes)

Uploaded Source

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