Posted By

kickjoel on 03/11/09


Tagged

photo kickapps re-size


Versions (?)

KickApps: Change Size of Profile Image


 / Published in: JavaScript
 

Other available sizes include:

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

Place this script in your AC footer.

  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  

You need to login to post a comment.