summaryrefslogtreecommitdiffstats
path: root/gen_thumbs.php
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-06-18 19:36:37 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-06-18 19:36:37 +0000
commit764ad0eb8718d3611956402725d6a4615f688d8a (patch)
treef081ccc0dcb31164c49c2fb4c1e2429c38aea8d9 /gen_thumbs.php
parent02fa42f4fa425887713b1df57ed17a48f2b83c6e (diff)
issue10, fixed on-demand thumbnail generation
git-svn-id: file:///var/lib/svn/phpfspot/trunk@108 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'gen_thumbs.php')
-rwxr-xr-xgen_thumbs.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/gen_thumbs.php b/gen_thumbs.php
index 46c10d7..d8e384a 100755
--- a/gen_thumbs.php
+++ b/gen_thumbs.php
@@ -4,6 +4,11 @@
require_once "phpfspot.class.php";
$fspot = new PHPFSPOT;
-$fspot->gen_thumbs(0, 'fromcmd');
+
+$all = $fspot->getPhotoSelection();
+
+foreach($all as $photo) {
+ $fspot->gen_thumb($photo, 'fromcmd');
+}
?>