Thanks Kiatsu, that worked for me and gets me a little closer to what I would like to do.
I want to use the carousel to navigate to other images in the same imagebrowser gallery. Would anyone know if $image->imageURL can be replaced to output something like “site.com/?page_id=109&pid=18” so the current gallery (109?) remains the same and the pid changes to the thumbnail’s corresponding id? If I do $image->pid I get the pid number.
Also, is it possible to embed the carousel in the imagebrowser page rather than calling it with shortcode on each page?
Cheers 🙂