specify image size in HTML rather than CSS; chrome claims it loads faster
This commit is contained in:
parent
a5fa809335
commit
9660d2f157
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Reference in a new issue