blob: a0aaa258961de8c17f014754cd4a5c150d55d466 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/usr/bin/php
<?php
require_once "phpfspot.class.php";
$fspot = new PHPFSPOT;
$all = $fspot->getAllTagPhotos();
foreach($all as $photo)
{
$details = $fspot->get_photo_details($photo);
print "Image ". $details['name'] ." Thumbnails:";
foreach(Array($fspot->cfg->thumb_width, $fspot->cfg->photo_width) as $resolution) {
print " ". $resolution ."px";
$fspot->resize_image($fspot->translate_path($details['directory_path']) ."/". $details['name'], $resolution);
}
print "\n";
}
?>
|