public function size($width = null, $height = null)
    {
        foreach (\Config::get('flare-config.media.resize') as $sizeArray) {
            if ($width && $height && ($width == $sizeArray[0]) && ($height == $sizeArray[1])) {
                return $this->path ? url('uploads/media/'.$sizeArray[0].'-'.(array_key_exists(1, $sizeArray) ? $sizeArray[1] : $sizeArray[0]).'-'.$this->path) : null;
            }

            if ($width && ($width == $sizeArray[0])) {
                return $this->path ? url('uploads/media/'.$sizeArray[0].'-'.(array_key_exists(1, $sizeArray) ? $sizeArray[1] : $sizeArray[0]).'-'.$this->path) : null;
            }
        }

        return $this->link;
    }