High res gallery configuration
This commit is contained in:
parent
14a63c8087
commit
01619a73df
2 changed files with 3 additions and 7 deletions
|
@ -18,7 +18,7 @@
|
|||
{% for val in block.value %}
|
||||
<div class="item">
|
||||
{% image val.image fill-700x400 as entry_thumb %}
|
||||
<image data-src="{{ entry_thumb.url }}" data-caption="{{ val.caption }}" style="background-image:url({{ entry_thumb.url }})">
|
||||
<image style="background-image:url({{ entry_thumb.url }})">
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
|
|
@ -39,10 +39,10 @@ $(document).ready(function() {
|
|||
$('.slider-nav').slick({
|
||||
slidesToShow: 3,
|
||||
slidesToScroll: 1,
|
||||
infinite: true,
|
||||
asNavFor: '.carousel-gallery',
|
||||
infinite: false,
|
||||
centerMode: true,
|
||||
focusOnSelect: true,
|
||||
asNavFor: '.carousel-gallery',
|
||||
// Responsive settings
|
||||
responsive: [
|
||||
{
|
||||
|
@ -66,10 +66,6 @@ $(document).ready(function() {
|
|||
],
|
||||
prevArrow: '<span class="arrow left glyphicon glyphicon-chevron-left" aria-hidden="true">Previous</span>',
|
||||
nextArrow: '<span class="arrow right glyphicon glyphicon-chevron-right" aria-hidden="true">Next</span>',
|
||||
}).slickLightbox({
|
||||
src: 'data-src',
|
||||
itemSelector: 'img',
|
||||
caption: 'caption'
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue