Fix Gallery
This commit is contained in:
parent
c089919425
commit
5938a08bb2
4 changed files with 7 additions and 7 deletions
|
@ -51,7 +51,7 @@ class PublicController extends BaseController
|
||||||
Log::info("Get from Cache");
|
Log::info("Get from Cache");
|
||||||
|
|
||||||
$this->addAccessLog($tenant->id, $gallery->id, $image->id, "Cache", Storage::disk('cache')->size($cacheName."_".$size));
|
$this->addAccessLog($tenant->id, $gallery->id, $image->id, "Cache", Storage::disk('cache')->size($cacheName."_".$size));
|
||||||
return Storage::disk('cache')->response($cacheName."_".$size, null, ['Cache-Control'=> 'max-age='.(60*60*24)]);
|
return Storage::disk('cache')->response($cacheName."_".$size, null, ['Cache-Control'=> 'max-age='.(60*60*24).', public']);
|
||||||
}
|
}
|
||||||
|
|
||||||
//ORginal File exists need to be resized
|
//ORginal File exists need to be resized
|
||||||
|
|
2
resources/css/justifiedGallery.min.css
vendored
2
resources/css/justifiedGallery.min.css
vendored
|
@ -1,5 +1,5 @@
|
||||||
/*!
|
/*!
|
||||||
* justifiedGallery - v3.8.0
|
* justifiedGallery - v3.8.1
|
||||||
* http://miromannino.github.io/Justified-Gallery/
|
* http://miromannino.github.io/Justified-Gallery/
|
||||||
* Copyright (c) 2020 Miro Mannino
|
* Copyright (c) 2020 Miro Mannino
|
||||||
* Licensed under the MIT license.
|
* Licensed under the MIT license.
|
||||||
|
|
4
resources/js/jquery.justifiedGallery.min.js
vendored
4
resources/js/jquery.justifiedGallery.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -18,11 +18,11 @@
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section('js')
|
@section('js')
|
||||||
<link rel="stylesheet" href="/css/jquery.justified.css" />
|
<link rel="stylesheet" href="/css/justifiedGallery.css" />
|
||||||
<script src="/js/jquery.justified.min.js"></script>
|
<script src="/js/jquery.justifiedGallery.js"></script>
|
||||||
<script>
|
<script>
|
||||||
$("#mygallery").justifiedGallery({
|
$("#mygallery").justifiedGallery({
|
||||||
rowHeight: 120,
|
rowHeight: 250,
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
Loading…
Reference in a new issue