I am grabbing news from different website & want to show them as show as example
Problem is with the image, Images associate with articles are of different dimension.
I have an image container 'div' of 80x80 pixels and i want to display image in center both vertically & horizontally
I want to show image in best possible way ...
I would appreciate help in this regarding or how i show image in best possible way without hurting the design.
<div class="news-wrapper">
<div class="news-image"><img class="img" src="http://gulfnews.com/media/img/gulfnews_logo.png"/></div>
<div class="news-title"> News Title 1</div>
<div class="news-source"> Source 1</div>
<div class="news-description"> Some Descriptionn</div>
</div>
<div class="news-wrapper">
<div class="news-image"><img class="img" src="http://i.cdn.turner.com/cnn/.e/img/3.0/global/header/intl/hdr-globe-central.gif"/></div>
<div class="news-title"> News Title 1</div>
<div class="news-source"> Source 1</div>
<div class="news-description"> Some Descriptionn</div>
</div>
<div class="news-wrapper">
<div class="news-image"><img class="img" src="http://news.bbcimg.co.uk/media/images/65881000/jpg/_65881249_65881241.jpg"/></div>
<div class="news-title"> News Title 1</div>
<div class="news-source"> Source 1</div>
<div class="news-description"> Some Descriptionn</div>
</div>
<div class="news-wrapper">
<div class="news-image"><img class="img" src="http://www.zawya.com/images/cia/large/130213070447ptjw.jpg"/></div>
<div class="news-title"> News Title 1</div>
<div class="news-source"> Source 1</div>
<div class="news-description"> Some Descriptionn</div>
</div>