Allow auto to take images as well as image filenames.