Modify controller to filter blank photos