parse_uri() needs two parameters
[phpfspot.git] / phpfspot_img.php
index 461f5c61a253083db259baca67b330007b1e0668..f3eb3088f4b363030ccb11b88b7c4a080768dd58 100644 (file)
@@ -29,7 +29,6 @@ require_once "phpfspot.class.php";
  *
  * handles phpfspot's photos. It will output either the photo binaries
  * or can also show error messages as a on-the-fly generated picture.
- *
  * @package phpfspot
  */
 class PHPFSPOT_IMG {
@@ -79,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 {