summaryrefslogtreecommitdiffstats
path: root/phpfspot_img.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpfspot_img.php')
-rw-r--r--phpfspot_img.php2
1 files changed, 1 insertions, 1 deletions
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'];