- @olivierh65 opened merge request.
- π·π΄Romania Kosa Ilma
Using the patch from #8 on D10 upgrade preparation with Upgrade Status module I get:
Call to deprecated function file_create_url(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use the appropriate method on \Drupal\Core\File\FileUrlGeneratorInterface instead.
Here is the patch. - First commit to issue fork.
- πΊπ¦Ukraine paulrad
Slightly improved MR !15, made the formatter compatible with view fields, media items visible, etc.
- π«π·France afarsal
Bonjour,
I applied the patch #27 without success. I'm using Bootstrap Barrio 5.5.16 with drupal 10.3.2 and php 8.1.
Images/medias are not displaying with the lightgallery formater for my content.
In the Firefox inspector there is the selector but the images/media are not displayed.
Thank you for your work and help.
Kind regards - π«π·France afarsal
Hi,
I noticed that the image field was renamed with another name. I modified by adding my media field name (media->bundle) in src/Plugin/Field/FieldFormatter/LightgalleryMediaFormatter.php. Now the Lightgallery Formatter works very well except in a views, i guess we need to change too src/Plugin/views/style/LightGallery.php.
Very thanks,