FIX: use CDN when expanding avatar templates