KickApps: Change Size of Profile Image


/ Published in: JavaScript
Save to your folder(s)

Other available sizes include:

"48X48", "100X75", "160X120", "320X240", "420X315", "730X550"

Place this script in your AC footer.


Copy this code and paste it in your HTML
  1. // Resize Profile image
  2.  
  3. if (Ka.Info.PAGE == "pages/kickPlaceServerSide.jsp") {
  4. $j('#ka_profileImg span').each(function() {
  5. var newStyle = $j(this).attr('style').replace('160x120', '320x240');
  6. $j(this).attr('style', newStyle);
  7. var newStyle = $j(this).attr('style').replace('160X120', '320X240');
  8. $j(this).attr('style', newStyle);
  9. });
  10. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.