added general image input