add photo class