Quote:
Originally Posted by mr.gamesbay
Can u me better explain this part ?
I have a pic. names (back_hi.gif) that shouldn't be resized.
|
First you should add an id to your img tag.
Suppose you have this in your template:
Code:
<img src="back_hi.gif" />
This you should change into (the nr1 could be anything offcourse)
Code:
<img src="back_hi.gif" id="nr1" />
Then you should change this line below (which is in the javascript file)
Code:
if (docImg[i].width > imgWidthMax && docImg[i].id != 'forumlogo')
into (nr1 or whatever id you have choosen
Code:
if (docImg[i].width > imgWidthMax && docImg[i].id != 'nr1')
If you have more than one image you don't want to resize all you got to do is change the line above by adding
&& docImg[i].id != 'the_image_id' after [i]docImg
.id != 'nr1'
edit:
Seems like vB is parsing vB tags inside the code tag :ermm: