<?php
/**
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 */
get_header();
?>
				<div class="big-title">
					<div class="container">
						<h1 class="entry-title">School Images</h1>
						<div class="breadcrumb">
							<div class="container">
								<ul class="tm_bread_crumb">
									<li class="top"><a href="<?php echo home_url();?>">Home</a></li>
									<li class="sub tail current"><a href="gallery.html">Gallery</a></li>
								</ul>
							</div>
						</div>
					</div>
				</div>
				<div class="our-projects">
					<div class="container">
						<div class="row">
							<div class="col-sm-12">
								<div class="myportfolio-container minimal-light" id="our-projects">
									
									<div class="portfolio-row">
              							<div class="portfolioContainer portfolioContainer-full row" id="da-thumbs">
              								<ul class="project-masonry">
												<?php if( have_rows('more_images') ): ?>
                    						<?php while( have_rows('more_images') ): the_row(); 
                    						$image = get_sub_field('image');
                  							
											
                    						?>
              									<li class="grid-item filter-onam our-projects-wrapper col-md-6 col-sm-6 mb-3">
													<div class="project-media-cover-wrapper">
														<div class="project-entry-media">
															<img src="<?php echo $image;?>" alt="" />
														</div>
														<div class="project-entry-cover">
															<div class="project-overlay our-projects-container"></div>
															<div class="project-content">
																
																<div class="line-clear"></div>
																
																<div class="line-clear"></div>
																<div class="our-projects-popup">
																	<a data-rel="prettyPhoto" href="<?php echo $image;?>">
																		<i class="fa fa-search"></i>
																	</a>
																</div>
															</div>
														</div>
													</div>
												</li>
              									<?php endwhile;?>
                   					 <?php endif;?>
												
              								</ul>
              							</div>
            						</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<?php get_footer();?>