diff options
-rw-r--r-- | phpfspot.class.php | 6 | ||||
-rw-r--r-- | phpfspot_img.php | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php index ccfbd25..b8f45a8 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -540,7 +540,7 @@ class PHPFSPOT { return; } - $orig_path = $this->translate_path($this->parse_uri($details['uri'], 'fullpath')); + $orig_path = $this->translate_path($this->parse_uri($details['uri'])); $thumb_path = $this->get_thumb_path($this->cfg->photo_width, $photo); if(!file_exists($orig_path)) { @@ -1554,7 +1554,7 @@ class PHPFSPOT { $details = $this->get_photo_details($idx); /* calculate file MD5 sum */ - $full_path = $this->translate_path($this->parse_uri($details['uri'], 'fullpath')); + $full_path = $this->translate_path($this->parse_uri($details['uri'])); if(!file_exists($full_path)) { $this->_error("File ". $full_path ." does not exist\n"); @@ -2199,7 +2199,7 @@ class PHPFSPOT { <br> ". $details['description']); - $orig_path = $this->translate_path($this->parse_uri($details['uri'], 'fullpath')); + $orig_path = $this->translate_path($this->parse_uri($details['uri'])); /* get EXIF information if JPEG */ if($details['mime'] == "image/jpeg") { diff --git a/phpfspot_img.php b/phpfspot_img.php index f298b00..461f5c6 100644 --- a/phpfspot_img.php +++ b/phpfspot_img.php @@ -79,7 +79,7 @@ class PHPFSPOT_IMG { /* no width specified - show photo in its original size */ if($width == 0) { - $fullpath = $this->parent->translate_path($this->parent->parse_uri($details['uri'], 'fullpath')); + $fullpath = $this->parent->translate_path($this->parent->parse_uri($details['uri'])); } /* show thumbnail */ else { |