extracting header photo for carousel