diff options
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'); +} ?> |