Browse Source

strato ready now (no glob_brace)

master
Victor Giers 5 years ago
parent
commit
f036a7acfd
2 changed files with 5 additions and 2 deletions
  1. 4
    2
      index.php
  2. 1
    0
      pics

+ 4
- 2
index.php View File

@@ -34,8 +34,10 @@

<?php
$dir ="pics";
$images = glob("$dir/*.{jpg,png,bmp}", GLOB_BRACE);
$images = glob("$dir/*");

$js_images = json_encode($images);

echo "let imagePaths = ". $js_images . ";\n";
?>

@@ -141,7 +143,7 @@
}

function mouseClicked(){
pause = !pause;
if(!loading) pause = !pause;
}

var shuffle = function (array) {

+ 1
- 0
pics View File

@@ -0,0 +1 @@
/home/giers/Bilder & Videos/Rechtsklick

Loading…
Cancel
Save