<div class="factoryPhotos">
        <div class="container">
        <div class="sec-title with-text text-center">
                    <div class="title">Behind the Scenes: Factory Views</div>

                    <div class="border-box center bgblue"></div>
                    <span>Step inside our factory and witness the craftsmanship that drives excellence. From raw materials to finished products, every process is powered by precision, dedication, and innovation. Our state-of-the-art facilities and skilled workforce ensure the highest quality standards. Explore the heart of our operations and see how passion and expertise come together to create exceptional results.</span>
                </div>

                <div class="clearfix"></div>
          <div class="row row-cols-2 row-cols-sm-2 row-cols-md-4 row-cols-lg-5">
<?php
$sel_photo_query = 'SELECT * FROM factoryphoto_tbl ORDER BY id ASC';
$res_photo = $dbconn->query($sel_photo_query);
if($res_photo->num_rows > 0){
    while($photos = $res_photo->fetch_assoc()){
?>
    <div class="col">
        <div class="gallery_item">
            <a class="hover_effect h_yellow" data-fancybox="photo-gallery" href="<?= getImage($photos['image'], 900, 1200, $photos['title'], "/uploaded-files/gallery/photos/"); ?>" title="<?= $photos['title']; ?>">
                
                <img src="<?= getImage($photos['image'], 340, 420, $photos['title'], "/uploaded-files/gallery/photos/"); ?>"  alt="<?= $photos['title']; ?>" title="<?= $photos['title']; ?>">
            </a>
        </div>
    </div>
<?php } } ?>
</div>







            </div>
        </div>
    </div>