From: Alexander Ebert Date: Sun, 8 Apr 2018 15:00:08 +0000 (+0200) Subject: Use sane default value for embedded media X-Git-Tag: 3.1.2~2^2~22 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2e07f1dec0a0b55bacf2c4b2cf4714fa7059e206;p=GitHub%2FWoltLab%2FWCF.git Use sane default value for embedded media --- diff --git a/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeImg.class.php b/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeImg.class.php index 24afe2789b..9f3487e190 100644 --- a/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeImg.class.php +++ b/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeImg.class.php @@ -133,7 +133,7 @@ class HtmlInputNodeImg extends AbstractHtmlInputNode { } $float = 'none'; - $thumbnail = null; + $thumbnail = 'original'; if (preg_match('~thumbnail=(?Ptiny|small|large|medium)\b~', $element->getAttribute('src'), $matches)) { $thumbnail = $matches['thumbnail'];