display image in ui after selecting