Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
5614 Weergaven

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
Annuleer

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

Auteur

updated the question...

Gerelateerde posts Antwoorden Weergaven Activiteit
1
jul. 25
2227
1
mei 20
3516
0
mrt. 20
3538
1
nov. 19
6307
1
mei 19
4904