public function getResizedImageInfo()
    {
        $fileInfo = null;
        if ($this->newFile === true) {
            $asset = $this->assetRepo->createAsset(
                "Limesharp_Stockists::images/".$this->entityCode."/placeholder/{$this->getDestinationSubdir()}.jpg"
            );
            $img = $asset->getSourceFile();
            $fileInfo = getimagesize($img);
        } else {
            if ($this->mediaDirectory->isFile($this->mediaDirectory->getAbsolutePath($this->newFile))) {
                $fileInfo = getimagesize($this->mediaDirectory->getAbsolutePath($this->newFile));
            }
        }
        return $fileInfo;
    }
public function getResizedImageInfo()
    {
        $fileInfo = null;
        if ($this->newFile === true) {
            $asset = $this->assetRepo->createAsset(
                "Limesharp_Stockists::images/".$this->entityCode."/placeholder/{$this->getDestinationSubdir()}.jpg"
            );
            $img = $asset->getSourceFile();
            $fileInfo = getimagesize($img);
        } else {
            if ($this->mediaDirectory->isFile($this->mediaDirectory->getAbsolutePath($this->newFile))) {
                $fileInfo = getimagesize($this->mediaDirectory->getAbsolutePath($this->newFile));
            }
        }
        return $fileInfo;
    }
public function getResizedImageInfo ( ) { $ fileInfo = null ; if ( $ this -> newFile === true ) { $ asset = $ this -> assetRepo -> createAsset ( "Limesharp_Stockists::images/" . $ this -> entityCode . "/placeholder/{$this->getDestinationSubdir()}.jpg" ) ; $ img = $ asset -> getSourceFile ( ) ; $ fileInfo = getimagesize ( $ img ) ; } else { if ( $ this -> mediaDirectory -> isFile ( $ this -> mediaDirectory -> getAbsolutePath ( $ this -> newFile ) ) ) { $ fileInfo = getimagesize ( $ this -> mediaDirectory -> getAbsolutePath ( $ this -> newFile ) ) ; } } return $ fileInfo ; }
Return resized image information

@return array
Return resized image information