#!/usr/bin/php
This script should only be invoked from command line!
\n"; die; } require_once "phpfspot.class.php"; $fspot = new PHPFSPOT; $fspot->fromcmd = true; $all = $fspot->getPhotoSelection(); foreach($all as $photo) { $fspot->gen_thumb($photo); } ?>