closer to getting photos to work. it's still broken