Incorrect update of the product image

pasha00m
New Member
3 0 0

I am updating the product image via the python shopify SDK

 

image = shopify.Image({"product_id": product_id, "id": image_id})
image.attach_image(
raw_image.read(), "{}_{}_result.png".format(product_id, image_id)
)
image.save()  

 

 after the update, I go to my products and see that the thumbnail of the image has been updated and its enlarged version remains as it is.

Replies 0 (0)