dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add srcset for images in <gallery>
[lhc/web/wiklou.git]
/
includes
/
gallery
/
TraditionalImageGallery.php
diff --git
a/includes/gallery/TraditionalImageGallery.php
b/includes/gallery/TraditionalImageGallery.php
index
ac61067
..
7a0206c
100644
(file)
--- a/
includes/gallery/TraditionalImageGallery.php
+++ b/
includes/gallery/TraditionalImageGallery.php
@@
-133,6
+133,8
@@
class TraditionalImageGallery extends ImageGalleryBase {
$this->adjustImageParameters( $thumb, $imageParameters );
+ Linker::processResponsiveImages( $img, $thumb, $transformOptions );
+
# Set both fixed width and min-height.
$thumbhtml = "\n\t\t\t"
. '<div class="thumb" style="width: '