Problem/Motivation

Steps to reproduce

This is a multiple image field configured like that :

content:
  field_image_produit:
    type: slick_image
    label: hidden
    settings:
      caption:
        title: '0'
        alt: '0'
      optionset: mmaw_caroussel_image_produits
      icon: ''
      layout: ''
      view_mode: ''
      cache: -1
      current_view_mode: default
      skin: ''
      fx: ''
      style: ''
      background: false
      box_caption: ''
      box_caption_custom: ''
      box_media_style: ''
      responsive_image_style: ''
      box_style: ''
      image_style: image_produit_slide
      media_switch: ''
      ratio: ''
      thumbnail_style: image_produit_menu
      _uri: ''
      breakpoints: {  }
      sizes: ''
      grid_header: ''
      grid: null
      grid_medium: null
      grid_small: null
      overridables:
        arrows: '0'
        autoplay: '0'
        dots: '0'
        draggable: '0'
        infinite: '0'
        mouseWheel: '0'
        randomize: '0'
        variableWidth: '0'
      optionset_thumbnail: ''
      skin_thumbnail: ''
      thumbnail_caption: ''
      thumbnail_effect: grid
      thumbnail_position: ''
      override: false
      skin_arrows: ''
      skin_dots: ''
      use_theme_field: true
      preserve_keys: false
      visible_items: null
    third_party_settings: {  }
    weight: 2
    region: content

If I inspect the html:

<div data-thumb="/sites/default/files/styles/image_produit_menu/public/2021-10/Ride_Cligno_G%402x_0.png?h=dcd7f4fc" class="media media--blazy media--slick media--image is-b-loading">

data-thumb is the same for all 4 images

I'll try to look if I can find a solution and update

Thanks for the awesome module !

Comments

Thony created an issue. See original summary.

gausarts’s picture

Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

Thank you.

I did notice it once, but already fixed for a while.

So I tend to think it is outdated by now.

What is your Blazy version?

Mind trying the latest Blazy:2.10 + Slick 2.7:
https://www.drupal.org/project/slick/releases/8.x-2.7-alpha1

If still an issue, kindly detail with screenshots Slick formatter form to help me reproduce it in case I still missed few more things.

thony’s picture

OK, you are probably right:
the issue happen with slick 2.6 + blazy 2.10 and is "solved" by donwgrading blazy to 2.9.
I'll now try blazy 2.10 + slick 2.7 alpha, thanks

thony’s picture

Sorry, the issue persists with Blazy:2.10 + Slick 2.7 :(

gausarts’s picture

Status: Active » Fixed

I could reproduce it thanks to your details.

This should be fixed at Blazy here:
https://git.drupalcode.org/project/blazy/-/commit/fc67c8d58269e4a6bcba5f...

In case you wonder why regressions, because of this issue #3257511: Optimization pre Blazy 3 and my Drupal environments were destroyed a few times. Sometimes backups were not having the latest works, etc., and I haven't got time to bring them back properly like before.

So every details like yours are very helpful. That option Static Grid popped.

I left it here at Slick, as it looks more related here, although the fix was at Blazy.

Thanks again.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.