Update index.php

Started call to create header image. Added logic to tell if a header image was referenced.