Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
5591 Prikazi

Hello,

how I can overwrite the function image_resize_image() in tools/image.py? Is it possible to crate a module overwriting this function?

The original function is called in addons/product/product.py:

'image_medium': fields.function(_get_image...

_get_image() -> tools.image_get_resized_images() -> image_resize_image_medium() -> image_resize_image()

Thank you.

Avatar
Opusti

When this method is called? I mean in which scenario this method is called?

Avtor

updated the question...

Related Posts Odgovori Prikazi Aktivnost
1
jul. 25
2209
1
maj 20
3510
0
mar. 20
3530
1
nov. 19
6297
1
maj 19
4899