Added polaroid image input support