public static String getHTML(ImageResource resource) {
return AbstractImagePrototype.create(resource).getHTML();
}
public static ImageResource getImageResource(SafeUri url, int width, int height) {
return new ImageResourcePrototype(null, url, 0, 0, width, height, false, false);
}