Added function to fetch images from ACF Gallery