Convert Multi-Reference ids to title with hyperlink to a page

Can anyone help me with this issue?

More specifically, how do I specify in Velo code a dynamic text element to display the category names from the Multi-reference field Categories for each photo (there could be more than one) and display it on the repeater that I have already connected to a dataset and display the Photo Title, create and date created.

Cheers

Mark