We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2310f32 commit 400133bCopy full SHA for 400133b
Embed/Adapters/Adapter.php
@@ -218,7 +218,7 @@ public function getImage()
218
if ($this->options['getBiggerImage']) {
219
$image = $this->getBiggerImage(FastImage::getImagesSize($this->images));
220
221
- if ($image) {
+ if ($image && ($image['width'] >= $this->options['minImageWidth']) && ($image['height'] >= $this->options['minImageHeight'])) {
222
$this->imageWidth = $image['width'];
223
$this->imageHeight = $image['height'];
224
0 commit comments