escape avatar template url