src/Service.php
private function _isImageLargeEnough(array $image)
	{
		$pluginSettings = EmbeddedAssets::$plugin->getSettings();
		$minImageSize = $pluginSettings->minImageSize;

		return $image['width'] >= $minImageSize && $image['height'] >= $minImageSize;
	}
private function _isImageLargeEnough(array $image)
	{
		$pluginSettings = EmbeddedAssets::$plugin->getSettings();
		$minImageSize = $pluginSettings->minImageSize;

		return $image['width'] >= $minImageSize && $image['height'] >= $minImageSize;
	}
private function _isImageLargeEnough ( array $ image ) { $ pluginSettings = EmbeddedAssets :: $ plugin -> getSettings ( ) ; $ minImageSize = $ pluginSettings -> minImageSize ; return $ image [ 'width' ] >= $ minImageSize && $ image [ 'height' ] >= $ minImageSize ; }
Helper method for filtering images to some minimum size.
Used to filter out small images that likely are absolutely useless.

@param array $image
@return bool
Helper method for filtering images to some minimum size . Used to filter out small images that likely are absolutely useless .