<div class="gallery_home  py-5">
    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-12">
                <div class="products_heading wow fadeInDown" data-wow-delay=".1s">
                    <div class="galleryHead">Photo Gallery</div>
                    <div class="separator separatorss"><span><i></i></span></div>
                    <p>Step into our mesmerizing photo gallery, a visual journey through the heartwarming memories and remarkable achievements that define us. These snapshots from vibrant events, capture the essence of our brand's remarkable journey.</p>
                </div>
            </div>
        </div>
        <div class="clearfix"></div>
        <div class="results">
       <?php $gallery_sql= mysqli_query($GLOBALS['dbconn'], "select * from photo_tbl order by id ASC limit 0,6"); 
       $i=1;
 while($gallery_res= mysqli_fetch_assoc($gallery_sql)){ 
    $galImg=getImage($gallery_res[image], 283, 203, $gallery_res[title].$i,"/uploaded-files/gallery/photos/");
    $galImg1= getImage($gallery_res[image], 500, 358, $gallery_res[title].$i,"/uploaded-files/gallery/photos/") ;
    ?>
      
            <div class="item wow fadeInDown" data-wow-delay=".<?=$i;?>s">
                <div class="gallery_item">
                    <a class="hover_effect h_yellow" data-fancybox="photo-gallery" href="<?=$galImg1;?>"  title="<?=$gallery_res['title'];?>">
                        <img src="<?=$galImg;?>" alt="<?=$gallery_res['title'];?>" title="<?=$gallery_res['title'];?>" width="317" height="226">
                    </a>
                   
                </div>
            </div>
           <?php $i++; } ?>
        </div>
        <!-- <div class="text-center wow fadeInLeft" data-wow-delay=".6s">
            <a class="view_full_btn" href=""  title="">View Full Gallery</a>
        </div> -->
    </div>
</div>