for setting width there's no problem, but when uploading a portrait image it looks annoying & I want all the images have same width & height, but keeping the image looks good (not stretced/oppressed). maybe like facebook photo profile in timeline ,
and it's my problem : https://d8e7ec01-a-62cb3a1a-s-sites.googlegroups.com/site/vanyfiles/1-horz.jpg
my html code :
<table>
<tr>
<td id="thumb_img">
<img src="images/e-magz.png" width="100%" height="100%"/>
</td>
<td id="thumb_news">
<div id="date">February 7,2013</div>
<a href="#">This is Photoshop's version of Lorem Ipsum. Proin gravida nibh</a>
</td>
</tr>
</table>
my css code :
#thumb_news{
padding: 5px;
}
#thumb_img{
width: 25%;
height: 100px;
overflow: hidden;
left: 0;
right: 0;
padding-right: 5px;
}