[opencms-dev] Photo Album - Ordering images

Mario Jäger m.jaeger at alkacon.com
Thu Dec 10 09:48:12 CET 2009


Hi Richard,

It is not possible to configure the order of the images in the photoalbum.

To change the order of the images you could add a comparator in the method
org.opencms.frontend.photoalbum.CmsPhotoAlbumBean.getAlbumPhotos(). Here 
the list of all photos to display in the photo album is returned.

-- 
Kind Regards,
Mario.
 
-------------------
Mario Jäger
 
Alkacon Software GmbH  - The OpenCms Experts                    
http://www.alkacon.com - http://www.opencms.org 


R. Jonyo schrieb:
> The photo album orders images alphabetically, how can i order images
> according to creation date? such that whenever i add an new photo to my
> gallery it appears first on the album
>
> Richard
>   



More information about the opencms-dev mailing list