parse_uri() needs two parameters
[phpfspot.git] / phpfspot_img.php
index 412c5f26dc0ed07fd0a03f10d5b4add87145de5e..f3eb3088f4b363030ccb11b88b7c4a080768dd58 100644 (file)
@@ -78,7 +78,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 = $this->parent->translate_path($this->parent->parse_uri($details['uri'], 'fullpath'));
       }
       /* show thumbnail */
       else {