Hi Ravencroft,
I wrote a guide on how to generate custom portraits
here. Existing portraits will not be regenerated, so to generate portraits for an existing template you will need to create a copy of that template and generate the portrait using that instead. Then, simply copy the "Icon" property from the copy template over to the original template.