add type equals photo for object