timelaps video and data to json sh script

This commit is contained in:
Bachir Soussi Chiadmi
2016-06-29 14:40:18 +02:00
parent 1dfd58f8d7
commit 653557bdda
503 changed files with 562 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
<?php
$imgs = glob("pictures/*.jpg");
foreach ($imgs as $key => $value):
$class = "frame frame-$key";
if($key == 0) $class .= " current";
?>
<div class="<?php print $class; ?>" style="background-image:url('<?php print $value ?>');" alt="" /></div>
<?php endforeach;