separate header and slideshow from main page

Fixed php errors thrown when processing apertures and unknown exif
values