<div class="container-fluid gsa-white-light p-5">
    <div class="row pb-3">
        <div class="col-sm-12 d-flex justify-content-center">
            <h2 class="gsa-text-blue"> Gallery </h2>
        </div>
    </div>
    <div class="row">
        <?php foreach($gallery as $galleryImage) {
            $image_result = $image_service->get($galleryImage->image);
            $image = new Image(
                $image_result['id'],
                $image_result['caption'],
                $image_result['filename']
            );
        ?>
        <div class="col-sm-12 col-md-4 my-3 px-0 text-center">
            <img src="assets/images/<?php echo $image->filename; ?>" class="img-fluid package-img mb-1 shadow" alt="<?php echo $image->caption; ?>">        
            <em><?php echo $galleryImage->caption; ?></em>
        </div>
        <?php } ?>
    </div>
</div>