Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
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.
User | RANK |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |