
04-17-2007, 09:58 PM
|
 |
|
|
Join Date: May 2005
Location: True North Strong & Free!
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by WebmasterSimds
For those who want to limit the size of the image, just do it as I have done below. this will restrict it to 100x100 and no larger then you will not have to moderate the images in the posts.
I have tried this with tons of different sizes, and it has always re sized this image down to the correct 100x100px. If you wanted to have a border around this, just add numbers to the border, but take away from the size , So say you wanted to have a 2px border around this, and keep the whole thing to 100x100 then subtract 2 from each of the sizes, so 100x100 would be 98x98. and the whole section will be no more than 100x100 in size.
Just thought I woud help that person about resizing.
Code:
<!-- SIDEBAR -->
<if condition="$post[field13]"><div style="padding:$stylevar[cellpadding]px"><img class="inlineimg" src="$post[field13]" border="0" width="100" height="100 padding="2" /></div></if>
</-- SIDEBAR -->
|
That worked perfectly!! Thanks
|