a gui tool to select an image from a directory