Resize images in the posts automatically with CSS code
Wednesday, 2 March 2011
, Posted by vu at 06:33
Go to design\edit HTML
Insert below CSS code before ]]></b:skin>
.post IMG {
max-width:250px;
width: expression(this.width > 250 ? 250: true);
max-height:220px;
height: expression(this.height > 220 ? 220: true);
}
Insert below CSS code before ]]></b:skin>
.post IMG {
max-width:250px;
width: expression(this.width > 250 ? 250: true);
max-height:220px;
height: expression(this.height > 220 ? 220: true);
}
You can change the values 250,220 if you like.250 is width and
220 is height of the image
Save template to finish.
Currently have 0 comments: