Skip to Content
Menu
This question has been flagged

The product.product Model has the following 5 fields for images:


image_1920

image_1024

image_512

image_256

image_128


I have a few of question here:

What does this number mean? Does this refer to a square image, for example 1920x1920 pixels?

What image size user should upload? Does Odoo expects 1920x1920 square image?

Does Odoo rescale images internally from 1920 to others?

Which of these images are used for hover-zoom on the website?


BTW I'm not an Odoo developer. I'm just a user. So I don't read any code.


Thanks,

Imran

Avatar
Discard
Best Answer

There is nothing with the name of images, you can use any names, but the important thing how we defined that field. In the case of Images, we can specify it's height and width. If we define height 1024 and width 1024, for readability better to define the field with the property. so image_1920 is with height 1920 and width 1920.

Avatar
Discard
Related Posts Replies Views Activity
0
Jan 21
1677
2
Mar 24
682
0
Nov 18
2294
3
Oct 24
197
1
Sep 24
142