Added attributes in createContent in PhotoParser