private function getPathsForLocalFile($image)
    {
        $this->transformPath = ImagerHelpers::getTransformPathForPath($image);
        $pathParts = pathinfo($image);

        $this->path = FileHelper::normalizePath(Yii::getAlias('@webroot').'/'.$pathParts['dirname']);
        $this->url = $image;
        $this->filename = $pathParts['basename'];
        $this->basename = $pathParts['filename'];
        $this->extension = $pathParts['extension'];
    }
private function getPathsForLocalFile($image)
    {
        $this->transformPath = ImagerHelpers::getTransformPathForPath($image);
        $pathParts = pathinfo($image);

        $this->path = FileHelper::normalizePath(Yii::getAlias('@webroot').'/'.$pathParts['dirname']);
        $this->url = $image;
        $this->filename = $pathParts['basename'];
        $this->basename = $pathParts['filename'];
        $this->extension = $pathParts['extension'];
    }
private function getPathsForLocalFile ( $ image ) { $ this -> transformPath = ImagerHelpers :: getTransformPathForPath ( $ image ) ; $ pathParts = pathinfo ( $ image ) ; $ this -> path = FileHelper :: normalizePath ( Yii :: getAlias ( '@webroot' ) . '/' . $ pathParts [ 'dirname' ] ) ; $ this -> url = $ image ; $ this -> filename = $ pathParts [ 'basename' ] ; $ this -> basename = $ pathParts [ 'filename' ] ; $ this -> extension = $ pathParts [ 'extension' ] ; }
Get paths for a local file that's not in the imager path

@param $image
Get paths for a local file that s not in the imager path