apply picture-segment replacment in templates