@@ -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) { |
@@ -0,0 +1 @@ | |||
/home/giers/Bilder & Videos/Rechtsklick |