handle tumblr's weird image resizing in css