colorbox responsive formatter

Created on 21 November 2024, about 7 hours ago

Hello,

I have an image field in a page content.
When I configure the formatter with responsive colorbox, it displays the image in the content. When I click on it, the colorbox is displayed but is empty, without description (alt).

In the source code, the colorbox is well called.

<a href="http://codiald10/sites/default/files/styles/max_1300x1300/public/images/direction-chantier-construction.jpg?itok=hRsfqAAG" data-colorbox-inline="#logiciel-144-tKG0RnC1LXY" title="Chef de chantier en construction BTP" data-colorbox-gallery="gallery-logiciel-144-57f0X__CeSU" class="colorbox cboxElement" data-cbox-img-attrs="{&quot;alt&quot;:&quot;Chef de chantier en construction BTP&quot;}" data-once="init-colorbox colorbox-inline-processed">  <picture>
                  <source srcset="/sites/default/files/styles/logo_distributeur_desktop/public/images/direction-chantier-construction.jpg?itok=C847MLtD 1x" media="all and (min-width: 1200px)" type="image/jpeg" width="220" height="147">
              <source srcset="/sites/default/files/styles/logo_distributeur_tablette/public/images/direction-chantier-construction.jpg?itok=54IOu7B2 1x" media="all and (min-width: 992px)" type="image/jpeg" width="160" height="107">
              <source srcset="/sites/default/files/styles/logo_distributeur_tablette/public/images/direction-chantier-construction.jpg?itok=54IOu7B2 1x" media="all and (min-width: 768px)" type="image/jpeg" width="160" height="107">
              <source srcset="/sites/default/files/styles/logo_distributeur_mobil/public/images/direction-chantier-construction.jpg?itok=r_zhGjmx 1x" media="all and (max-width: 576px)" type="image/jpeg" width="75" height="50">
                  <img width="75" height="50" src="/sites/default/files/styles/logo_distributeur_mobil/public/images/direction-chantier-construction.jpg?itok=r_zhGjmx" alt="" loading="lazy" class="image-field">

  </picture>
</a>

The image http://codiald10/sites/default/files/styles/max_1300x1300/public/images/direction-chantier-construction.jpg is well available.

I have other images in my page with colorbox inline of ckeditor and it well works.

What can cause this error ?

💬 Support request
Status

Active

Version

2.1

Component

Miscellaneous

Created by

🇫🇷France selinav

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024