confirmed photo functionality