Timber\ImageHelper::get_resize_file_path PHP Method

get_resize_file_path() public static method

public static get_resize_file_path ( $url, $w, $h, $crop )
    public static function get_resize_file_path($url, $w, $h, $crop)
    {
        $au = self::analyze_url($url);
        $op = new Image\Operation\Resize($w, $h, $crop);
        $new_path = self::_get_file_path($au['base'], $au['subdir'], $op->filename($au['filename'], $au['extension']));
        return $new_path;
    }