finish removing transmission of template preview images code