diff --git a/product/ERP5/Document/Image.py b/product/ERP5/Document/Image.py index d19121f973dd23872b301b4de74a4d4ef724c164..bae7a4d2b1598d2918756b4fbc46891ce3fcdd15 100644 --- a/product/ERP5/Document/Image.py +++ b/product/ERP5/Document/Image.py @@ -214,6 +214,9 @@ class Image(File, OFSImage): mime, image = self._makeDisplayPhoto(display, format=format, quality=quality, resolution=resolution, frame=frame, image_size=image_size) + self.setConversion(image, mime, display=display, format=format, + quality=quality, resolution=resolution, + frame=frame, image_size=image_size) width, height = (image.width, image.height) # Set cookie for chosen size if cookie: