def image_view(request, subpath=None): view_instance = ImageView(request.context, request) return view_instance.image(subpath=subpath)
def image_default_view(request): view_instance = ImageView(request.context, request) return view_instance.image()