X-Git-Url: https://scm.cri.mines-paristech.fr/git/Photo.git/blobdiff_plain/2a45d522de56e0a031c6ee829eb1ed38764d7819..9a4d283ec944b96bc170dc43a6b22a74a248f53d:/Photo.py?ds=sidebyside diff --git a/Photo.py b/Photo.py index 86036e4..787e4ee 100755 --- a/Photo.py +++ b/Photo.py @@ -118,12 +118,11 @@ class Photo(Image, TileSupport, Metadata): # 2 means: tiling is not available is this photo (deliberated choice of the owner) # -1 means: no data tiles cannot be generated self.tiles_available = 0 - super(Photo, self).__init__(id, title, file, content_type='', precondition='') - 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', 120) + self.thumb_width = kw.get('thumb_width', 180) self.prop_filter = kw.get('prop_filter', 'ANTIALIAS') + super(Photo, self).__init__(id, title, file, content_type='', precondition='') defaultBlankThumbnail = kw.get('defaultBlankThumbnail', None) if defaultBlankThumbnail :