get_int(ResizeConfig::DEFAULT_WIDTH);
        $default_height = $config->get_int(ResizeConfig::DEFAULT_HEIGHT);
        if (!$default_width) {
            $default_width = $image->width;
        }
        if (!$default_height) {
            $default_height = $image->height;
        }
        $html = "
			".make_form(make_link("resize/{$image->id}"), 'POST')."
				
				
				
				 x
				
				
				
			
		";
        return $html;
    }
    public function display_resize_error(Page $page, string $title, string $message)
    {
        $page->set_title("Resize Image");
        $page->set_heading("Resize Image");
        $page->add_block(new NavBlock());
        $page->add_block(new Block($title, $message));
    }
}