summaryrefslogtreecommitdiffstats
path: root/gen_thumbs.php
diff options
context:
space:
mode:
Diffstat (limited to 'gen_thumbs.php')
-rwxr-xr-xgen_thumbs.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/gen_thumbs.php b/gen_thumbs.php
index d8e384a..4e621dc 100755
--- a/gen_thumbs.php
+++ b/gen_thumbs.php
@@ -4,11 +4,12 @@
require_once "phpfspot.class.php";
$fspot = new PHPFSPOT;
+$fspot->fromcmd = true;
$all = $fspot->getPhotoSelection();
foreach($all as $photo) {
- $fspot->gen_thumb($photo, 'fromcmd');
+ $fspot->gen_thumb($photo);
}
?>