Ir al contenido
Menú
Se marcó esta pregunta
3964 Vistas

Does anyone know of the correct way to bypass the product.template image restrictions of 1024x1024.  If you have multiple images for products the extra images can be larger.  This has to do with the way odoo.tools.image resizes.  The problem with the 1024x1024 images is the white border that is left for images that are not square. 


This is a pretty big problem for the eCommerce app as it forces all product images to be square and max out at 1024x1024 resolution.  That is pretty low and also creates a problem with the hundreds of portrait ratio images I already have.  The main image (product template) is square and so naturally looks smaller (white left and right borders), than the additional product images, which use a different python method to import and keep their original ratio.  Here is an example of what I mean:

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
4
feb 25
16065
0
ene 23
1432
0
ene 21
2294
2
jul 20
8602
0
feb 21
2359