Change to read me and additional function to get a photo by pid