summaryrefslogtreecommitdiffstats
path: root/phpfspot_img.php
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-06-09 07:08:46 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-06-09 07:08:46 +0000
commitc54dcf670a6ea58d885eb143c0eac8d90d3020f7 (patch)
treeffcb1971d7023b0440d3996f29af989596971c84 /phpfspot_img.php
parenta8f486923b8243347ac658a9a7148939f6c0411d (diff)
additional resolution for bubble images
image viewer class now uses parents thumbnail handling functions git-svn-id: file:///var/lib/svn/phpfspot/trunk@68 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'phpfspot_img.php')
-rw-r--r--phpfspot_img.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/phpfspot_img.php b/phpfspot_img.php
index 4bafa42..e2e0325 100644
--- a/phpfspot_img.php
+++ b/phpfspot_img.php
@@ -22,10 +22,7 @@ class PHPFSPOT_IMG {
public function show($idx, $width = "")
{
- $details = $this->parent->get_photo_details($idx);
-
- foreach(Array($this->parent->cfg->thumb_width, $this->parent->cfg->photo_width) as $resolution)
- $this->parent->create_thumbnail($this->parent->translate_path($details['directory_path']) ."/". $details['name'], $resolution);
+ $this->parent->gen_thumbs($idx);
if($width == "")
$fullpath = $this->parent->translate_path($details['directory_path']) ."/". $details['name'];