summaryrefslogtreecommitdiffstats
path: root/phpfspot.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r--phpfspot.class.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index 95227aa..b5dd177 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -543,7 +543,7 @@ class PHPFSPOT {
return;
}
- $orig_path = $this->translate_path($this->parse_uri($details['uri']));
+ $orig_path = $this->translate_path($this->parse_uri($details['uri'], 'fullpath'));
$thumb_path = $this->get_thumb_path($this->cfg->photo_width, $photo);
if(!file_exists($orig_path)) {
@@ -1557,7 +1557,7 @@ class PHPFSPOT {
$details = $this->get_photo_details($idx);
/* calculate file MD5 sum */
- $full_path = $this->translate_path($this->parse_uri($details['uri']));
+ $full_path = $this->translate_path($this->parse_uri($details['uri'], 'fullpath'));
if(!file_exists($full_path)) {
$this->_error("File ". $full_path ." does not exist\n");
@@ -2202,7 +2202,7 @@ class PHPFSPOT {
<br>
". $details['description']);
- $orig_path = $this->translate_path($this->parse_uri($details['uri']));
+ $orig_path = $this->translate_path($this->parse_uri($details['uri'], 'fullpath'));
/* get EXIF information if JPEG */
if($details['mime'] == "image/jpeg") {