Small image size in products REST API call

When calling the products REST API call (https://shopify.dev/docs/admin-api/rest/reference/products/product#index-2020-10) it returns the images array but the images are huge and displaying them in a table makes the whole page load slow due to the huge image size. Isn’t there a way to get a thumbnail of the image instead of the huge image?

You’ll get back the master image size returned, but if you need smaller just craft the url. Take a read through the docs to understand the image filter and the url it creates.

eg your url:
https://cdn.shopify.com/s/files/1/2590/5946/products/4-ounce-soy-candle.jpg?v=1559498739

Could be turned into this:
https://cdn.shopify.com/s/files/1/2590/5946/products/4-ounce-soy-candle_200x200.jpg?v=1559498739

Yeah that is what I did. I crafted the URL and added the dimensions I wanted. Thanks :slightly_smiling_face: