kuvia/resources/views/themes/gallery/gallery-detail/list.blade.php

29 lines
1.1 KiB
PHP
Raw Normal View History

2021-01-17 04:12:42 +00:00
@extends('layout/template')
@section('content')
<div class="row" style="background-color: #607c89;min-height: calc(100vh - 200px);padding-top:20px;">
<div class="col-md-12" style="text-align: center;">
<div>
2021-01-17 04:17:16 +00:00
<div class="fotorama" data-nav="thumbs" data-keyboard="true" data-ratio="800/600" data-width="1200" data-maxheight="80%" data-allowfullscreen="true">
2021-01-17 04:12:42 +00:00
@foreach($images as $image)
<a href="/{{ $tenant->url }}/{{ $gallery->url }}/{{ $image->id }}/file?size=big"><img src="/{{ $tenant->url }}/{{ $gallery->url }}/{{ $image->id }}/file?size=pixel"></a>
@endforeach
</div>
</div>
</div>
</div>
@endsection
@section('js')
<link href="https://cdnjs.cloudflare.com/ajax/libs/fotorama/4.6.4/fotorama.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/fotorama/4.6.4/fotorama.js"></script>
<style type="text/css">
.fotorama__wrap {
margin: 0 auto;
}
</style>
@endsection