refactored, simplified photo grid. included image file data in csv.