Image / Files Urls in content represenations

Is it possible to output multiple Image / File Urls via content representations?
I can get one url via 'imagesarray' => $page->imagesarray()->toFiles()->nth(0)->url().

I can get the complete data set via
'imagesarray' => $page->imagesarray()->toFiles()->toArray()
But is there a more elegant way of doing it?

Thanks! :blush:

If you only want an array of Urls:

1 Like