Ilyich
Head Huntress
Ruler of Evil
Gay alter ego's are more interesting
Posts: 200
|
Icons
Jul 13, 2010 14:13:06 GMT -5
Post by Ilyich on Jul 13, 2010 14:13:06 GMT -5
Avatar width is currently at 100 X 100 pixels
Have you considered altering that? So that you can add in avatars of differing sizes? In proboards the largest avatar width you can have is 230px without stretching the board. If your interested you could
a) remove the size restrictions completely
<script type="text/javascript"> <!-- /* Remove avatar size limits for everyone by california */ var img=document.getElementsByTagName("img"); if(location.href.match(/=(display|viewprofile|search2|pmview|recent)/)){ for(i=0;i<img.length;i++){ if(img[i].alt=="[avatar]"){ var t=img[i].parentNode; var s=t.innerHTML.replace(/width=.?\d+?.?/i,''); t.innerHTML=s.replace(/height=.?\d+?.?/i,''); } } } // --> </script>
or b) increase the sizes allowed
<script type="text/javascript"> <!-- /* avatar size limit by california */
var maxWidth=230; var maxHeight=300;
var img=document.getElementsByTagName("img"); for(i=0;i<img.length;i++){ if(img[i].width>maxWidth && img[i].alt.match(/\[avatar\]/i)){ img[i].style.height=""+(img[i].height*maxWidth/img[i].width)+"px"; img[i].style.width=""+maxWidth+"px"; } if(img[i].height>maxHeight && img[i].alt.match(/\[avatar\]/i)){ img[i].style.width=""+(img[i].width*maxHeight/img[i].height)+"px"; img[i].style.height=""+maxHeight+"px"; } } // --> </script>
|
|
|
Icons
Jul 13, 2010 14:58:34 GMT -5
Post by Bhu on Jul 13, 2010 14:58:34 GMT -5
SUGGESTION APPROVED.
|
|