This commit is contained in:
Kekskurse 2021-01-15 02:11:59 +01:00
parent b19703b7cf
commit 7cc12709ea

View file

@ -10,7 +10,7 @@
<!-- Add photos --> <!-- Add photos -->
@foreach($images as $image) @foreach($images as $image)
<img class="imageToReplace" src="/{{ $tenant->url }}/{{ $gallery->url }}/{{ $image->id }}/file?size=small" data-thumb="/{{ $tenant->url }}/{{ $gallery->url }}/{{ $image->id }}/file?size=small"> <img class="imageToReplace" src="/{{ $tenant->url }}/{{ $gallery->url }}/{{ $image->id }}/file?size=small" data-thumb="/{{ $tenant->url }}/{{ $gallery->url }}/{{ $image->id }}/file?size=small">
@endforeach @endforeach
</div> </div>
@ -34,7 +34,10 @@
<script src="/js/photor.min.js"></script> <!-- 5 KB in gzip --> <script src="/js/photor.min.js"></script> <!-- 5 KB in gzip -->
<script> <script>
$(document).ready(function() {
$('.photor').photor();
});
</script> </script>
</body> </body>