added connections
choose image function
display photo