Made an image endpoint.