specify image size in HTML rather than CSS; chrome claims it loads faster

This commit is contained in:
Shish 2010-07-30 13:24:58 +01:00
parent a5fa809335
commit 9660d2f157

View file

@ -39,7 +39,7 @@ class Themelet {
<div class='thumbblock'>
<div class='thumb'>
<a href='$h_view_link' style='position: relative; display: block; height: {$tsize[1]}px; width: {$tsize[0]}px;'>
<img id='thumb_$i_id' title='$h_tip' alt='$h_tip' style='height: {$tsize[1]}px; width: {$tsize[0]}px;' src='$h_thumb_link'>
<img id='thumb_$i_id' title='$h_tip' alt='$h_tip' height='{$tsize[1]}' width='{$tsize[0]}' src='$h_thumb_link'>
</a>
</div>
</div>