also accepts dragged images that aren't files (like from a web browser)