Subversion Repositories eFlore/Applications.cel

Rev

Rev 3985 | Rev 3989 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3985 Rev 3987
Line 327... Line 327...
327
<div id="info-img-galerie" class="carousel col-lg-8 col-12" data-ride="carousel" data-interval="false">
327
<div id="info-img-galerie" class="carousel col-lg-8 col-12" data-ride="carousel" data-interval="false">
328
	<div class="carousel-inner h-100 w-100">
328
	<div class="carousel-inner h-100 w-100">
329
		<?php $urls = array_keys($infos_images); ?>
329
		<?php $urls = array_keys($infos_images); ?>
330
		<?php for($index = 0; $index < count($urls); $index++):?>
330
		<?php for($index = 0; $index < count($urls); $index++):?>
331
			<div id="img-cadre-<?php echo $index; ?>" class="carousel-item">
331
			<div id="img-cadre-<?php echo $index; ?>" class="carousel-item">
-
 
332
				<img id="illustration-<?php echo $index;?>" class="d-block align-middle"
-
 
333
					 src="<?php echo $urls[$index] . '?timestamp=' . time();?>" alt=""
332
				<img id="illustration-<?php echo $index;?>" class="d-block align-middle" src="<?php echo $urls[$index];?>" alt="" data-width="<?php echo $infos_image[$urls[$index]]['width'];?>" data-height="<?php echo $infos_image[$urls[$index]]['height'];?>">
334
					 data-width="<?php echo $infos_image[$urls[$index]]['width'];?>" data-height="<?php echo $infos_image[$urls[$index]]['height'];?>">
333
			</div>
335
			</div>
334
		<?php endfor; ?>
336
		<?php endfor; ?>
335
		<a id="precedent" class="carousel-control-prev carousel-control" href="#info-img-galerie" role="button" data-slide="prev">
337
		<a id="precedent" class="carousel-control-prev carousel-control" href="#info-img-galerie" role="button" data-slide="prev">
336
			<i class="fas fa-chevron-circle-left"></i>
338
			<i class="fas fa-chevron-circle-left"></i>
337
			<span class="sr-only">Precedent</span>
339
			<span class="sr-only">Precedent</span>