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 5747b73..ce3731b 100644
--- a/phpfspot_img.php
+++ b/phpfspot_img.php
@@ -76,7 +76,7 @@ class PHPFSPOT_IMG {
if(!$this->parent->getMD5($idx)) {
$this->parent->gen_thumb($idx);
}
- $fullpath = $this->parent->cfg->base_path ."/thumbs/". $width ."_". $this->parent->getMD5($idx);
+ $fullpath = $this->parent->get_thumb_path($width, $idx);
/* if the thumb file does not exist, create it */
if(!file_exists($fullpath)) {
$this->parent->gen_thumb($idx);