How do I accept an image as one of the field inputs?

How can I accept image as an input to a custom field?

Thanks