Ajuda

0

Why Odoo is adding padding to the images?

Avatar
Zahid Mehmood

I am using fields.image() and the saved images are different from the one I uploaded, in a sense that new images have a lot of padding on top and bottom, also a bit on left and right. Even the size of the saved image is different from the one I uploaded. I uploaded an image with resolution 1028*675 where as the image saved is 1200*1200.

Why this is happening? I am talking about the product.product model and image_1920 field.

Avatar
Descartar