I’m having some issues trying to render product images. I’ve created two test products using the Moltin dashboard and I uploaded images for them. When I hit the API for the product data, I can see the main_image has an ID, but it doesn’t have a file extension.
I can fudge it to work by passing the product.id and the main_image.id into the Amazon S3 url, which does make it render, but only if I guess the file extension correct. If I put .jpg on the end of a .png it doesn’t work (obviously lol).
It seems like there should be a main_image.extension attribute, or a main_image.url attribute I can use to pass into the img tag, but I just can’t seem to find any documentation on how I’m supposed to be handling it.