Gallery Portlet

Warning
This product has not had a release in over 1 year and may no longer be maintained.
by Miroslaw Ochodek last modified Feb 16, 2011 02:13 AM

Gallery Portlet provides a single portlet which displays serie of images using JQuery fade in/out animation.

Project Description

Gallery Portlet provides a single portlet which displays serie of images using JQuery fade in/out animation.

I have created this simple portlet to be able to display a serie of images from the portal with fade in/out. It can be also done with the use of flash or animated gif, but I wanted to display images stored within the site.

You can see demo working on page: www.se.cs.put.poznan.pl

To make it more adjusted to your needs you can use plone.app.imaging, which will help you in creating different resizing functions.

Tested with: Plone 3.3 (it should also work with Plone 4.0 - thanks to Holden Hao for testing and providing this information).

Installation:

[buildout]
eggs = ...
       se.portlet.gallery

zcml = ...
       se.portlet.gallery

Distribution at PyPi

Version: 1.2.1-bugfix

  • fixed problem with [enters] in descriptions of images

Version: 1.2-final

  • added tranlsations: pt-br (by Davi Lima),
  • you can disable portlet border, header, footer with omit border option
  • you can display image descriptions under the image (configurable font size and color)

Version: 1.1-final

  • added tranlsations: de (by Thomas Massmann), fr (by Jean-Philippe Camguilhem), pl
  • images are searched based on addition-date in reverse order
  • images can be shuffled
  • $ (jquery) which in Plone 3.3 is changed to 'jq' can now be configured

Version: 1.0-final

  • removed dependency from plone.app.layout.navigation.root
  • fixed description of configuration fields
  • fixed width param

Version: 1.0dev

You can control:

  • title - or leave blank 
  • width - or leave blank to leave standard width
  • height
  • content types which should be treated as images
  • workflow state
  • paths where images will be looked for (you can have a single folder or many ...)
  • image size using PIL (e.g. mini, thumb ...)
  • animation properties (interval between slides, number of steps in animation)

Issues:

  • JQuery - it is based on JQuery lib, which is available in Plone 3. If your version of Plone doesn' have jquery installed you can add it yourself. There is important issue however. Plone changes $ to jq to avoid confilcts. If your version didn't change this you have to do it yourself.
    • fixed in 1.1-final- there is a new configuration option, which enables you to adjust JQuery $ symbol to your version of Plone

Current Release
Gallery Portlet 1.2.1

Released Nov 26, 2009 — tested with Plone 3

Bugfix for the previous version 1.2-final
More about this release…

Download file Get Gallery Portlet for all platforms
Binary egg (also available through the PyPi)
Download file Get Gallery Portlet for all platforms
Source
If you are using Plone 3.2 or higher, you probably want to install this product with buildout. See our tutorial on installing add-on products with buildout for more information.

All Releases

Version Released Description Compatibility Status
1.2.1 Nov 26, 2009 Bugfix for the previous version 1.2-final More about this release…
Plone 3
final
1.2-final Sep 07, 2009 New configuration options like: omit border, displaying description and additional translation (minor fix) More about this release…
Plone 3
final
1.1-final Jul 20, 2009 New configuration options were added as well as translations (de, fr, pl). More about this release…
Plone 3
final
1.0-final Jul 18, 2009 First final release of the portlet More about this release…
Plone 3
final
1.0-dev Jul 17, 2009 The initial release of the portlet More about this release…
Plone 3
release-candidate

Comments (0)