X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=phpfspot_img.php;h=4bafa42bbf8a3ef6c1b532b6a5395bb8e7f4042e;hp=986fbccbb251a20930bccdf3abacfd4cfbb9189e;hb=a8f486923b8243347ac658a9a7148939f6c0411d;hpb=e1117268a48440364cc10191a40eee45b8f514bd diff --git a/phpfspot_img.php b/phpfspot_img.php index 986fbcc..4bafa42 100644 --- a/phpfspot_img.php +++ b/phpfspot_img.php @@ -25,7 +25,7 @@ class PHPFSPOT_IMG { $details = $this->parent->get_photo_details($idx); foreach(Array($this->parent->cfg->thumb_width, $this->parent->cfg->photo_width) as $resolution) - $this->parent->resize_image($this->parent->translate_path($details['directory_path']) ."/". $details['name'], $resolution); + $this->parent->create_thumbnail($this->parent->translate_path($details['directory_path']) ."/". $details['name'], $resolution); if($width == "") $fullpath = $this->parent->translate_path($details['directory_path']) ."/". $details['name'];