projects
/
Photo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
La vignette est contrainte, par défaut, dans un carré de 180 pixels de côté.
[Photo.git]
/
Photo.py
diff --git
a/Photo.py
b/Photo.py
index
68b67f3
..
ed6fd26
100755
(executable)
--- a/
Photo.py
+++ b/
Photo.py
@@
-19,8
+19,8
@@
#######################################################################################
""" Photo zope object
#######################################################################################
""" Photo zope object
-$Id: Photo.py 1281 2009-08-13 10:44:40Z pin $
-$URL: http://svn.luxia.fr/svn/labo/projects/zope/Photo/trunk/Photo.py $
+
+
"""
from Globals import InitializeClass, DTMLFile
"""
from Globals import InitializeClass, DTMLFile
@@
-122,7
+122,7
@@
class Photo(Image, TileSupport, Metadata):
self.auto_update_thumb = kw.get('auto_update_thumb', 1)
self.thumb_height = kw.get('thumb_height', 180)
self.auto_update_thumb = kw.get('auto_update_thumb', 1)
self.thumb_height = kw.get('thumb_height', 180)
- self.thumb_width = kw.get('thumb_width', 1
2
0)
+ self.thumb_width = kw.get('thumb_width', 1
8
0)
self.prop_filter = kw.get('prop_filter', 'ANTIALIAS')
defaultBlankThumbnail = kw.get('defaultBlankThumbnail', None)
self.prop_filter = kw.get('prop_filter', 'ANTIALIAS')
defaultBlankThumbnail = kw.get('defaultBlankThumbnail', None)