Image support

@jakebolewski this is your image branch rebased against current master. 
What would be needed in your opinion to push this forward. The functionality worked great when I tested it some time ago.