photo callback written