[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [FIX] Plugin img: Remove img-fluid bootstrap class when width or height are used
"Domeshow Emmanuel \(@Domeshow\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <6a3b9bd14ff3f_38168d7509726d@gitlab-sidekiq-low-urgency-cpu-bound-v2-749c764f6d-xcpzj.mail> |
Domeshow Emmanuel pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki Commits: eff7e56b by Josaphat Imani at 2026-06-24T11:56:42+03:00 [FIX] Plugin img: Remove img-fluid bootstrap class when width or height are used --- * [FIX] Plugin img: Remove img-fluid bootstrap class when width or height are used --- * [FIX] Plugin img: Remove img-fluid bootstrap class when width or height are used --- * [FIX] Plugin img: Remove img-fluid bootstrap class when width or height are used See merge request tikiwiki/tiki!10585 (cherry picked from commit fad415c182571f8711a28254f4ab4e3a8576ebd0) 7a222d34 [FIX] Plugin img: Remove img-fluid bootstrap class when width or height are used Co-authored-by: Josaphat Imani <[email protected]> See merge request tikiwiki/tiki!10587 (cherry picked from commit b7a8844ef150e655c065334e107f3eef59b91ec3) 1669f769 [FIX] Plugin img: Remove img-fluid bootstrap class when width or height are used Co-authored-by: Josaphat Imani <[email protected]> See merge request tikiwiki/tiki!10588 - - - - - 1 changed file: - lib/wiki-plugins/wikiplugin_img.php Changes: ===================================== lib/wiki-plugins/wikiplugin_img.php ===================================== @@ -1210,7 +1210,7 @@ function wikiplugin_img($data, $params) $replimg .= 'sizes="' . $sizes . '" '; } $imgdata['class'] .= ' regImage pluginImg' . $imgdata['fileId']; - if ($imgdata['responsive'] == 'y') { + if ($imgdata['responsive'] == 'y' && empty($width) && empty($height)) { $imgdata['class'] .= ' img-fluid'; } if ($imgdata['featured'] == 'y') { View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/eff7e56bc344aba07aa61b5385ea7d1ad10143d7 -- View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/eff7e56bc344aba07aa61b5385ea7d1ad10143d7 You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help _______________________________________________ TikiWiki-cvs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs