Stuff
This commit is contained in:
parent
b19703b7cf
commit
7cc12709ea
1 changed files with 4 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue