Basically, I use jQuery to get images from Flickr like so:
$(document).ready(function(){
$.getJSON("URL-GOES-HERE", function(data){
$.each(data.items, function(i,item){
$("<img/>").attr("src", item.media.m).addClass("thumb").appendTo(".flickr")
.wrap("<a href='" + item.link + "'></a>").wrap("<div class='flickr-thumb' />");
});
});
});
and I wrap the images in a div:
<div class="flickr"></div>
Here is my CSS:
.flickr { overflow: hidden; }
.flickr-thumb { height: 40px; overflow: hidden; float: left; }
.thumb { width: 60px;}
So the javascript adds all this on the fly and it just shows up as <div class="flickr"></div>
when you view the source. Hopefully it's pretty intuitive.
But can anyone explain why images appear stretched (specifically, vertically) in IE?
Thanks, tom