]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Bookshelf.php
Made shelf listing more unique & efficient
[bookstack] / app / Entities / Bookshelf.php
index 6753c2882e80f8a8bae90d2bbe96e4f13de00dd5..d6a3cf0efec3cbd3f00da5b1b74b29a27b57960e 100644 (file)
@@ -51,7 +51,7 @@ class Bookshelf extends Entity
     public function getBookCover($width = 440, $height = 250)
     {
         // TODO - Make generic, focused on books right now, Perhaps set-up a better image
-        $default = baseUrl('/book_default_cover.png');
+        $default = 'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==';
         if (!$this->image_id) {
             return $default;
         }