I need to get a comma separated list of image URL's from a product's media gallery.
I have successfully managed to load getMediaGalleryImages so that if I...
var_dump ($product->getMediaGalleryImages()); ... I can see each image being loaded with it's attributes, i.e:-
["url"]=> string(89) "https://www.example.com/media/catalog/product/x/x/x-image.jpg" I just haven't managed to figure out how to list them in an array like:-
https://www.example.com/media/catalog/product/x/x/x-image.jpg, https://www.example.com/media/catalog/product/x/x/x-image_1.jpg, https://www.example.com/media/catalog/product/x/x/x-image_2.jpg Struggling to get the syntax right I think...