summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpfspot_img.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpfspot_img.php b/phpfspot_img.php
index e2e0325..0afdd7b 100644
--- a/phpfspot_img.php
+++ b/phpfspot_img.php
@@ -24,6 +24,8 @@ class PHPFSPOT_IMG {
{
$this->parent->gen_thumbs($idx);
+ $details = $this->parent->get_photo_details($idx);
+
if($width == "")
$fullpath = $this->parent->translate_path($details['directory_path']) ."/". $details['name'];
else