rename image resize function
[phpfspot.git] / phpfspot_img.php
index 986fbccbb251a20930bccdf3abacfd4cfbb9189e..4bafa42bbf8a3ef6c1b532b6a5395bb8e7f4042e 100644 (file)
@@ -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)
       $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'];
 
       if($width == "")
          $fullpath = $this->parent->translate_path($details['directory_path'])  ."/". $details['name'];