This commit is contained in:
Kekskurse 2021-01-13 18:32:36 +01:00
parent 029952f4b6
commit ce004bbc85

View file

@ -45,7 +45,7 @@ class PublicController extends BaseController
$gallery = Gallery::getByTenantAndUrl($tenant->id, $gallery); $gallery = Gallery::getByTenantAndUrl($tenant->id, $gallery);
$image = Image::query()->where("gallery", "=", $gallery->id)->where("id", "=", $image)->firstOrFail(); $image = Image::query()->where("gallery", "=", $gallery->id)->where("id", "=", $image)->firstOrFail();
$size = $request->input("size", "medium"); $size = $request->input("size", "medium");
$size = "orginal"; //$size = "medium";
$cacheName = "cache_".$tenant->id."_".$gallery->id."_".$image->id; $cacheName = "cache_".$tenant->id."_".$gallery->id."_".$image->id;