Add select image functionality.