diff --git a/class_image.php b/class_image.php index 05699d1..1574162 100644 --- a/class_image.php +++ b/class_image.php @@ -253,8 +253,8 @@ class Image implements JsonSerializable { 'id' => $this->getID(), 'album_id' => $this->getAlbumID(), 'albumfolder' => $this->getAlbumFolder(), - 'imageurl' => basename(ALBUMFOLDER) . "/" . $this->getAlbumFolder() . "/" . $this->getFileName(), - 'thumburl' => basename(THUMBNAILFOLDER) . "/" . $this->getAlbumFolder() . "/" . $this->getFileName(), + 'imageurl' => basename(ALBUMFOLDER) . "/" . $this->getAlbumFolder() . $this->getFileName(), + 'thumburl' => basename(THUMBNAILFOLDER) . "/" . $this->getAlbumFolder() . $this->getFileName(), 'title' => $this->getTitle(), 'description' => $this->getDescription(), 'createtime' => $this->getCreateTime()