|
noob
Aug 25, 2008 4:20:38 GMT -5
Post by nightmare42132 on Aug 25, 2008 4:20:38 GMT -5
is there a code that can make you Profile pics bigger if so can have it please
|
|
|
noob
Aug 26, 2008 12:10:28 GMT -5
Post by DesertFlame on Aug 26, 2008 12:10:28 GMT -5
OMG i just saw this code a while ago, let me see if i can find it again.
EDIT: here ya go change the red font to the size you want
GLOBAL FOOTER: <script type="text/javascript"> <!-- /* increase avatar size limit by california */
var maxWidth = 150; var maxHeight = 150;
function resizeAv(imgnum){ var targetImg = document.getElementsByTagName("img")[imgnum]; if(isNaN(targetImg.width) || isNaN(targetImg.height)){ setTimeout("resizeAv("+imgnum+");", 500); }else{ if(targetImg.width > maxWidth){ var newHeight = Math.round(targetImg.height*(maxWidth/targetImg.width)); targetImg.width = maxWidth; targetImg.height = newHeight; targetImg.style.width = ""+maxWidth+"px"; targetImg.style.height = ""+newHeight+"px"; } if(targetImg.height > maxHeight){ var newWidth = Math.round(targetImg.width*(maxHeight/targetImg.height)); targetImg.width = newWidth; targetImg.height = maxHeight; targetImg.style.width = ""+newWidth+"px"; targetImg.style.height = ""+maxHeight+"px"; } } }
var iAv = document.getElementsByTagName("img"); if(location.href.match(/on=(displ|search2|viewpr|pmv|(user)?rece|cal\w+iew)/)){ for(i=0; i<iAv.length; i++){ if(iAv.alt.match(/\[avatar\]/i)){ var imgPar = iAv.parentNode; var temp = imgPar.innerHTML.replace(/width=.?\d+.?/i, ''); imgPar.innerHTML = temp.replace(/height=.?\d+?.?/i, ''); resizeAv(i); } } }
// --> </script>
|
|
|
noob
Aug 28, 2008 5:45:22 GMT -5
Post by nightmare42132 on Aug 28, 2008 5:45:22 GMT -5
thank you so much
|
|