Related post- image r unnaturally extended. Is there a code to cut off image


#1

Hello! First of all i want to sorry for my english, its not so good as i want to. My problem is… Some time ago id added thing that make u under post related post view. So id noticed that this configuration extends some of image. So my question is. Is there any code that will cut-off image to frame size not changing image size or make unnaturally extended look?

cant add link and have no idea how to past image here sorry

and here is part of code im talking abt.

#related-posts .related_img {margin:5px;border:2px solid #f2f2f2;width:220px;height:auto;transition:all 300ms ease-in-out;-webkit-transition:all 300ms ease-in-out;-moz-transition:all 300ms ease-in-out;-o-transition:all 300ms ease-in-out;-ms-transition:all 300ms ease-in-out;-webkit-border-radius: 5px;  -moz-border-radius: 20px; border-radius: 5px; opacity:0.7; filter:alpha(opacity=70);border-radius:24px;}