[TikiWiki-commits] [Git][tikiwiki/tiki][master] [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 | <6a3b93704ca36_38137a6e47784a@gitlab-sidekiq-low-urgency-cpu-bound-v2-749c764f6d-d8t6w.mail> |
Domeshow Emmanuel pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
fad415c1 by Josaphat Imani at 2026-06-24T11:02:39+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
See merge request tikiwiki/tiki!10585
- - - - -
1 changed file:
- lib/wiki-plugins/wikiplugin_img.php
Changes:
=====================================
lib/wiki-plugins/wikiplugin_img.php
=====================================
@@ -1216,7 +1216,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/fad415c182571f8711a28254f4ab4e3a8576ebd0
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/fad415c182571f8711a28254f4ab4e3a8576ebd0
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