>>35402003The photo is from her trainer card, connected to the registered trainer's database. Rosa provided her ID when she walked in and issued her gym challenge and, when she won, the gym simply pulled up her photo that they got from the database/card.