If set in the navArgs: converts the path of the header image and the title for the header into a readable Html block