index page functional with photos