config = $config; } /** * {@inherit} * * @return string */ public function getAdapterAlias() { return (string)$this->config->getValue(self::XML_PATH_IMAGE_ADAPTER); } /** * {@inherit} * * @return mixed */ public function getAdapters() { return $this->config->getValue(self::XML_PATH_IMAGE_ADAPTERS); } /** * Get Maximum Image Width resolution in pixels. For image resizing on client side. * * @return int * @deprecated 102.0.1 * @see \Magento\Backend\Model\Image\UploadResizeConfigInterface::getMaxHeight() */ public function getMaxWidth(): int { return (int)$this->config->getValue(self::XML_PATH_MAX_WIDTH_IMAGE); } /** * Get Maximum Image Height resolution in pixels. For image resizing on client side. * * @return int * @deprecated 102.0.1 * @see \Magento\Backend\Model\Image\UploadResizeConfigInterface::getMaxHeight() */ public function getMaxHeight(): int { return (int)$this->config->getValue(self::XML_PATH_MAX_HEIGHT_IMAGE); } }