Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
well then, that's exactly what I've thought.
http://www.deviantart.com/
They have embedded the img tag inside a span, giving a background-image to the span:
Code:
<span style="background-image: url(http://sh.deviantart.com/shadow/alpha-000000/2.6667-0.35/150/134/logo.png);" class="shadow">
<a href="http://www.deviantart.com/deviation/47203842/?&qh=special%3Apopular" title="Commission Blue Tiger Copic by *WildSpiritWolf">
<i></i>
<img src="http://tn1-3.deviantart.com/fs13/150/f/2007/022/d/1/Commission_Blue_Tiger_Copic_by_WildSpiritWolf.jpg" height="134" width="150">
</a>
</span>
That way, while the image screenshot loads, you see the span background.
I don't know how they match for the background size, but at least you have a starting point.
__________________
Only a biker knows why a dog sticks his head out the window.
|