Serving images with correct content type