X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fgallery%2FTraditionalImageGallery.php;h=0df6f84635ce1b40c65fadcec10cbd3a5f89cf12;hp=ac61067dd7d18c6b76ab1e0e949f4b42ef4a4b8e;hb=59ebff658ce912c1b0e7ef8d8f9bfec5a4e17b39;hpb=c734d538602e26b097a97523894f0d3fdd8e052b diff --git a/includes/gallery/TraditionalImageGallery.php b/includes/gallery/TraditionalImageGallery.php index ac61067dd7..0df6f84635 100644 --- 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" . '
is needed to # accommodate htmltidy which in version 4.8.6 generated crackpot html in - # its absence, see: http://bugzilla.wikimedia.org/show_bug.cgi?id=1765 + # its absence, see: https://phabricator.wikimedia.org/T3765 # -Ævar return "\n\t\t\t" . '
' . "\n"