added browse param to pet fxns, default is not open image
added example of using browse