How can I generate a list of all product image URLs?

How do I generate a list of all product URLs?

I presume I have to make a collection of all products and then do something like

{% for image in collection.products %}
  {{ image | image_url }}

{% endfor %}

But doesn’t give me any output.

Any input highly appreciated. Thanks!

1 Like

@SpotterJ

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

This doesn’t require my site url.

Alternatively, how would I grab this via the API in one go?

1 Like

@SpotterJ

sorry but your code on theme