To modify photo player