Fix: 2 try to fix art carousel

This commit is contained in:
Aroy-Art 2023-01-03 15:29:50 +01:00
parent 93a09d5dda
commit 0a84126fb0
Signed by: Aroy
GPG key ID: 583642324A1D2070
3 changed files with 7 additions and 7 deletions

View file

@ -148,7 +148,7 @@ jQuery(function ($) {
autoplaySpeed: 1500, autoplaySpeed: 1500,
slidesToShow: 1, slidesToShow: 1,
slidesToScroll: 1, slidesToScroll: 1,
lazyLoad: 'progressive', lazyLoad: 'progressive', /* ondemand */
centerMode: true, centerMode: true,
variableWidth: true variableWidth: true
}); });

View file

@ -8,9 +8,9 @@
{{ partial "bradcrumb.html" . }} {{ partial "bradcrumb.html" . }}
{{ partial "slick-imageSlideShow.html"}} {{/* {{ partial "slick-imageSlideShow.html"}} */}}
{{/*
{{ partial "imageSlideShow.html" . }} */}} {{ partial "imageSlideShow.html" . }}
{{ partial "blog.html" . }} {{ partial "blog.html" . }}

View file

@ -22,13 +22,13 @@
{{ $image_thumb := slice }} {{ $image_thumb := slice }}
{{ range .portfolio_categories }} {{ range .portfolio_categories }}
{{ range .portfolio_items }} {{ range .portfolio_items }}
{{ $images = $images | append .image }} {{ $images = $images | append .image }}
{{ $image_thumb := $image_thumb | append .image_thumb }} {{ $image_thumb := $image_thumb | append .image_thumb }}
{{- $original := resources.Get .image -}} {{- $original := resources.Get .image -}}
{{ $thumb := $original.Resize "x320" }} {{ $thumb := $original.Resize "x320" }}
<div class="item item-center"> <div class="item item-center">
<img class="img-fluid lozad AC-img" data-lazy="{{ $thumb.RelPermalink }}" alt="{{ .name }}" title="{{ .name }}"> <img class="img-fluid AC-img" data-lazy="{{ $thumb.RelPermalink }}" alt="{{ .name }}" title="{{ .name }}">
</div> </div>
{{ end }} {{ end }}
{{ end }} {{ end }}