Index: Classes/EelHelpers/AbstractImageSourceHelper.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- Classes/EelHelpers/AbstractImageSourceHelper.php (date 1605625198991) +++ Classes/EelHelpers/AbstractImageSourceHelper.php (date 1605625198991) @@ -179,6 +179,7 @@ if (preg_match('/^(?[0-9]+)w$/u', $descriptor, $matches)) { $width = (int)$matches['width']; $scaleFactor = $width / $this->getCurrentWidth(); + if ($scaleFactor > 1) continue; $scaled = $this->scale($scaleFactor); $srcsetArray[] = $scaled->src() . ' ' . $width . 'w'; } elseif (preg_match('/^(?[0-9\\.]+)x$/u', $descriptor, $matches)) {