change photo orientation, new database field