Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
9879 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
gen 21
2374
2
mar 24
2534
0
nov 18
3038
1
giu 25
2122
2
giu 25
849