save cover image in memory