4 Replies Latest reply on Apr 25, 2014 7:18 AM by Ryan Rutan

    What is the best way to customize the avatars via javascript

    snigdha.challa

      I want to customize the avatars on jive to reflect the photo in our corporate directory.

       

      I need to modify the src of the avatars to do this.

       

      What is the best way to go about this ? I tried to modify the src after the page has loaded by adding some javascript code into javascript.soy file.

       

      Also, I have added my code in the core template in the javascript.soy file but this code doesn't get executed on all pages i.e. only images on a few pages are getting replaced. Where should I put my code so that the images across the entire platform are replaced with the corporate directory photo ?

       

      Ryan Rutan any ideas ?

       

      Thanks.