Thank you, Texnixe - sorry for not being more specific:
I don’t need to loop through the product images though because I’m not looking at a list or overview of products, but I’m looking at the display of a single individual product; so this code snippet will go into the “view product”-template, not the “product overview”-template.
Every product has in its folder next to other images a product image called “product.png”. I’d like to get a code snippet to put into my “view product”-template that tells Kirby to show this “product.png”-image.
I tried your code snippet by removing the “foreach”-part and put it into the template, but it didn’t work that way.