diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2007-06-18 19:36:37 +0000 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2007-06-18 19:36:37 +0000 |
commit | 764ad0eb8718d3611956402725d6a4615f688d8a (patch) | |
tree | f081ccc0dcb31164c49c2fb4c1e2429c38aea8d9 /gen_thumbs.php | |
parent | 02fa42f4fa425887713b1df57ed17a48f2b83c6e (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-x | gen_thumbs.php | 7 |
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'); +} ?> |