From 4ff4a0e7adc87e654f6eefccdd2f43827bd06535 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Thu, 1 Nov 2007 10:42:46 +0000 Subject: issue73, new directory structure for thumbnails git-svn-id: file:///var/lib/svn/phpfspot/trunk@275 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- phpfspot_img.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpfspot_img.php') 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); -- cgit v1.2.3-18-g5258