Permalink
Browse files

Added 'overlay_galleries' and 'slideshow' as additional configuration…

… options.
  • Loading branch information...
1 parent 287868d commit c986ae0158a22d7248331c92fe743ab9685fb784 saily committed Feb 23, 2011
Showing with 18 additions and 2 deletions.
  1. +5 −1 collective/prettyphoto/browser/view.py
  2. +2 −0 collective/prettyphoto/exportimport.py
  3. +11 −1 docs/HISTORY.txt
@@ -31,7 +31,9 @@ def __call__(self, request=None, response=None):
showTitle: %(show_title)s, /* true/false */
counter_separator_label: '%(counter_sep)s', /* The separator for the gallery counter 1 "of" 2 */
theme: '%(theme)s',
- autoplay: %(autoplay)s /* Automatically start videos: True/False */
+ autoplay: %(autoplay)s, /* Automatically start videos: True/False */
+ slideshow: %(slideshow)s, /* false OR interval time in ms */
+ overlay_gallery: %(overlay_gallery)s /* If set to true, a gallery will overlay the fullscreen image on mouse over */
});
});
});
@@ -43,4 +45,6 @@ def __call__(self, request=None, response=None):
autoplay=getattr(self.prettyphoto_properties, 'autoplay', True) and 'true' or 'false',
iframe_width=getattr(self.prettyphoto_properties, 'iframe_width', '75%'),
iframe_height=getattr(self.prettyphoto_properties, 'iframe_height', '75%'),
+ overlay_gallery=getattr(self.prettyphoto_properties, 'overlay_gallery', False) and 'true' or 'false',
+ slideshow=getattr(self.prettyphoto_properties, 'slideshow', 0) or 'false',
)
@@ -14,6 +14,8 @@
dict(name='autoplay', type_='boolean', value=True),
dict(name='iframe_width', type_='string', value='75%'),
dict(name='iframe_height', type_='string', value='75%'),
+ dict(name='overlay_gallery', type_='boolean', value=True),
+ dict(name='slideshow', type_='int', value=0),
]
View
@@ -6,7 +6,17 @@ Changelog
- Upgraded to prettyPhoto library including it's css and image sprite to 3.0.1
to fix issues with jQuery 1.4.4 (see http://bit.ly/hxYUrt) which is shipped
- with latest Plone 4 by default. This fixes #2. [saily]
+ with latest Plone 4 by default. This fixes #2.
+ [saily]
+
+- Added default thumbnails for 'overlay_galleries' feature.
+ [saily]
+
+- Added 'overlay_gallery' and 'slideshow' as additional configuration options
+ but disabled by default cause of a bug in jquery.prettyPhoto.js which aviods
+ displaying thumbnails not ending on (jpg|jpeg|png|gif).
+ See http://bit.ly/eKYdrF
+ [saily]
0.3.3 (2010-12-20)
------------------

0 comments on commit c986ae0

Please sign in to comment.