add formatted content to image