This topic was locked 15th May 08 at 6:11pm by Michael |
CåñåÐå™ Full Member
  
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/images-hrn.jpeg) Posts: 427 Status: Offline Gender: Male Location: Toronto Ontario Joined:
pmwww | [F] Image In Post (13th May 08 at 4:12am UTC) | | Can i get an code to re-size images in post please . if its ove 300x300 if possible please. | |
 click here We have 15 Different Skins/Templates for your vForum |
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: Image In Post (15th May 08 at 3:21pm UTC) | | Try this!
<script> /*Resize Image in Post to 300x300 Created By Wrighty*/
var x = get('td','tag');
for(c=0; c<x.length; c++){ if(x[c].className == 'post' && x[c].getElementsByTagName('img')){ var f = x[c].getElementsByTagName('img'); for(y=0;y<f.length;y++){ if(f[y].width > 300){ f[y].width = 300; } if(f[y].height > 300){ f[y].height = 300; } } } } </script>
Global Footer | |
|
CåñåÐå™ Full Member
  
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/images-hrn.jpeg) Posts: 427 Status: Offline Gender: Male Location: Toronto Ontario Joined:
pmwww | Re: Image In Post (15th May 08 at 5:33pm UTC) | | Thank you Wrighty it works fine bro . | |
 click here We have 15 Different Skins/Templates for your vForum |
|