Friday, 17 June 2011

Auto-Resize Photos in Blog Posts

If your present blog template main post column width is 500 px ,
Sign into Blogger > Layout > Edit html

Find this code


]]></b:skin>


and paste this just ABOVE that line


img { max-width: 480px; width: expression(this.width > 480 ? 480: true); border: none; text-align: center; }


the number 480 is the width size.. ( make sure that number is below the main column width.. ie 500px)

Save the Changes!

0 comments:

Post a Comment