protected void renderImage(
      UIXRenderingContext context, UINode node, ImageProviderResponse response, String mapName)
      throws IOException {
    // We assume that we have an image to render
    assert (response != null);

    boolean disabled = isDisabled(context, node);
    boolean hasMap = (response.getMapAreas() != null);
    Object shortDesc = getShortDesc(context, node);

    boolean hasLink = !disabled && !hasMap;
    Object destination = hasLink ? getDestination(context, node) : null;

    renderImage(context, node, response, hasMap, mapName, shortDesc, destination);
  }