code: public static Image newImage(final String id, final IResource imageResource)
  	{
  		final Image image = new Image(id, imageResource);
  		image.setOutputMarkupId(true);
  		return image;
  	}
docs: Factory method for create a new {@link Image}.
  
  @param id
  the id
  @param imageResource
  the IResource object
  @return the new {@link Image}.