Changes to photo popup part2

Changes to photo popup part2