X-Git-Url: https://scm.cri.mines-paristech.fr/git/Plinn.git/blobdiff_plain/99afe0ce8700bf835ff7bbedf77bb46e58f996d8..3a90429ca4498086cc762cad292071a1c4cb44d9:/AttachmentTool.py?ds=sidebyside diff --git a/AttachmentTool.py b/AttachmentTool.py index aea969b..a61b4e4 100644 --- a/AttachmentTool.py +++ b/AttachmentTool.py @@ -78,8 +78,8 @@ class AttachmentTool( UniqueObject, SimpleItem): id = makeValidId(attachments, title) if typeName == 'Photo': - thumbSize = {'thumb_height' : portal.getProperty('thumb_height', 128), - 'thumb_width' : portal.getProperty('thumb_width', 128)} + thumbSize = {'thumb_height' : portal.getProperty('thumb_size', 128), + 'thumb_width' : portal.getProperty('thumb_size', 128)} fileOb = Photo(id, title, file, **thumbSize) elif typeName == 'File' : fileOb = File(id, title, '')