public function ratio(int $width, int $height, bool $resize = false)
    {
        $this->field['ratio'] = "{$width}:{$height}";

        if ($resize) {
            $this->field['imagesize'] = "{$width},{$height}";
        }

        return $this;
    }