Move pictures list building to the view. Fix a bad link for the calendar.