X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/7224fbcc89f00f2b71644e36bb1b1d96addd1d5a..refs/pull/3008/head:/app/Uploads/ImageService.php diff --git a/app/Uploads/ImageService.php b/app/Uploads/ImageService.php index eff8005d7..d6c74c751 100644 --- a/app/Uploads/ImageService.php +++ b/app/Uploads/ImageService.php @@ -308,6 +308,7 @@ class ImageService public function getImageData(Image $image): string { $storage = $this->getStorage(); + return $storage->get($this->adjustPathForStorageDisk($image->path, $image->type)); }