add watermark on zoom, update display of article nature on shelve (change icon to text
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
<div class="sp-loading"><img src="images/sp-loading.gif" alt=""><br>LOADING IMAGES</div>
|
||||
<div class="sp-wrap" style="width: 100%;">
|
||||
@if ($images)
|
||||
@foreach ($images as $image)
|
||||
<a href="{{ App\Repositories\Core\Images::getImageSrc($image) }}">
|
||||
<img src="{{ App\Repositories\Core\Images::getNormalSrc($image) }}" class="img-fluid">
|
||||
</a>
|
||||
@endforeach
|
||||
@else
|
||||
<img src="{{ $image }}" class="img-fluid">
|
||||
@endif
|
||||
@if ($images)
|
||||
@foreach ($images as $image)
|
||||
<a href="{{ App\Repositories\Shop\Articles::getZoomSrc($image) }}">
|
||||
<img src="{{ App\Repositories\Core\Images::getNormalSrc($image) }}" class="img-fluid">
|
||||
</a>
|
||||
@endforeach
|
||||
@else
|
||||
<img src="{{ $image }}" class="img-fluid">
|
||||
@endif
|
||||
</div>
|
||||
|
||||
@push('js')
|
||||
<script>
|
||||
$(window).load(function() {
|
||||
$('.sp-wrap').smoothproducts();
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
$(window).load(function() {
|
||||
$('.sp-wrap').smoothproducts();
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
Reference in New Issue
Block a user