testing/server: add endpoint for tagging images