Add image input function

One of the missing input options is image. It is added here, and plays well with both fIDs and string paths