thumb html shouldn't be the one adding <td>s
git-svn-id: file:///home/shish/svn/shimmie2/trunk@43 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
4d127b3a17
commit
a9abf77ba9
1 changed files with 2 additions and 2 deletions
|
@ -129,8 +129,8 @@ function build_thumb_html($image, $query=null) {
|
||||||
$h_tip = html_escape($image->get_tooltip());
|
$h_tip = html_escape($image->get_tooltip());
|
||||||
$h_thumb_link = $image->get_thumb_link();
|
$h_thumb_link = $image->get_thumb_link();
|
||||||
$tsize = get_thumbnail_size($image->width, $image->height);
|
$tsize = get_thumbnail_size($image->width, $image->height);
|
||||||
return "<td><a href='$h_view_link'><img title='$h_tip' alt='$h_tip'
|
return "<a href='$h_view_link'><img title='$h_tip' alt='$h_tip'
|
||||||
width='{$tsize[0]}' height='{$tsize[1]}' src='$h_thumb_link'></a></td>\n";
|
width='{$tsize[0]}' height='{$tsize[1]}' src='$h_thumb_link' /></a>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue