hi friends,

today i use "function bp_thumbnail_resize" java script for my new web movie blog, http://alttheater.blogspot.com. But after using, i face some problems.

My image are not adjust according to the java script. It take a screenshot based on post image but i need the homepage image should be adjust according to my prefer image size, like:
width:218px;
height:215px;

Currently i use following codes:

.thumbs{
width:218px;
height:215px;
position:relative;
line-height:1.6em;
margin:0;
overflow:hidden;
}

.thumbs img{
position:absolute;
top:0;
left:0;
border:0;
margin-top:0px;
}

.thumbs a{
display:block;
position:relative;
overflow:hidden;
height:215px;
width:218px;
color:#555;
}

.thumbs a:hover{
text-decoration:none;
}

.summary{
padding-bottom:15px;
margin:10px 10px 0;
font-familyosis,Verdana,Arial;
font-size:12px;
}


and scripts are:

<script type='text/javascript'>
$(function() {$('.thumbs').hover(function(){$(this).find('img') .animate({left:'220px'},{queue:false,duration:500} );}, function(){$(this).find('img').animate({left:'0px' },{queue:false,duration:500});});})
</script>


and

<script type='text/javascript'>
//<![CDATA[
function bp_thumbnail_resize(image_url,post_title)
{
var image_size=218;
var show_default_thumbnail=true;
var default_thumbnail="http://2.bp.blogspot.com/-erTXCq61ULM/TmHYAQBZ0GI/AAAAAAAACCs/6cBX54Dn6Gs/s72-c/default.png";
if(show_default_thumbnail == true && image_url == "") image_url= default_thumbnail;
image_tag='<img src="'+image_url.replace('/s72-c/','/s'+image_size+'-c/')+'" alt="'+post_title+'"/>';
if(image_url!="") return image_tag; else return "";
}
//]]>
</script>



Can anyone help me to adjust the home page images which take from post img url.

You may visit my blog here: http://alttheater.blogspot.com

here you can notice that the images are not shown at full format. Please help me to edit this and suggest me how can i make the full images which will automatic adjust at the homepage.

Best Regards
mdtareq Reviewed by mdtareq on . function bp_thumbnail_resize modification help needed hi friends, today i use "function bp_thumbnail_resize" java script for my new web movie blog, http://alttheater.blogspot.com. But after using, i face some problems. My image are not adjust according to the java script. It take a screenshot based on post image but i need the homepage image should be adjust according to my prefer image size, like: width:218px; height:215px; Currently i use following codes: Rating: 5