Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
24927 Widoki

hello,


I wonder, are there any limits on size of product image? I am about to prepare ecommerce on odoo, but I'm bit affraid that people working with it will overload database with product images in big sizes.. so:

1) are there any limits on product image size?

2) if not, is there a way to limit these images to certain maximum size?


regards

Tomasz

Awatar
Odrzuć
Najlepsza odpowiedź

Update for V13: https://github.com/odoo/odoo/blob/13.0/odoo/addons/base/models/image_mixin.py

I would recommend an upload file size bigger than 1025px  because under this limit the zooming is not available in V13 on the product detail page.

Awatar
Odrzuć
Najlepsza odpowiedź

Ideal resolution is 1024*1024. It's the max resolution when you zoom on product images. If you don't use the zoom on product images, 500*500 is fine.

Bigger images are resized automatically.

When it comes to image file size, under 100Ko is perfect and above 1Mb is bad for page upload performance.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lut 25
1056
1
sty 24
2035
5
sty 24
59277
0
gru 16
5796
0
sie 16
3372