styling, ordering photos by created_at