This commit is contained in:
Kekskurse 2021-01-12 21:17:21 +01:00
parent 011755e6c9
commit c5dfc53b82

View file

@ -56,7 +56,7 @@ class PublicController extends BaseController
//ORginal File exists need to be resized
$file = null;
if (Storage::disk('cache')->exists($cacheName."_orginal")) {
if (Storage::disk('cache')->exists($cacheName."_".$size)) {
Log::info("Get orginal size from Cache");
$file = Storage::disk("cache")->get($cacheName."_orginal");
$this->addAccessLog($tenant->id, $gallery->id, $image->id, "Cache", $image->size);