import manquant.
[Photo.git] / readme.txt
1 Photo product extends the default Zope Image product and add image resizing support.
2
3 Thumbnail Support
4
5 You can get a thumbnail copy of a Photo instance by
6 adding '/getThumbnail' in the request url.
7 This thumbnail returned is a persistent standard
8 Zope Image instance. You can set thumbnail's creation
9 parameters (height, width, filter and auto refreshing)
10 into the Photo's property sheet.
11
12 Volatile resizing support
13
14 You can also get a volatile copy of the Photo instance
15 by adding '/getResizedImage' in the request url. The
16 default size is (800, 600) px. There is two ways to customize this size :
17
18 - pass an optional parameter size = (width, height) to 'getResizedImage'
19
20 - set the session variable named 'preferedImageSize' with a tuple (width, height)
21
22 note : the request var name must be 'SESSION' (default value of Session Data Manager).