Implement image input