some cleanup in gen_thumb code
[phpfspot.git] / gen_thumbs.php
1 #!/usr/bin/php
2 <?php
3
4 require_once "phpfspot.class.php";
5
6 $fspot = new PHPFSPOT;
7 $fspot->fromcmd = true;
8
9 $all = $fspot->getPhotoSelection();
10
11 foreach($all as $photo) {
12    $fspot->gen_thumb($photo);
13 }
14
15 ?>