diff options
| author | Łukasz Wilenski <wooc@gazeta.pl> | 2010-08-22 10:11:36 +0000 |
|---|---|---|
| committer | Łukasz Wilenski <wooc@gazeta.pl> | 2010-08-22 10:11:36 +0000 |
| commit | 22d3f476e3795f434c450953839c40dafd6b75aa (patch) | |
| tree | 61fee9dc5fb283724ee140f00d35166c93044481 /includes/functions | |
| parent | 6e2c4e22f844cd3fbc0efe0eaa8e11171ecc928d (diff) | |
| download | webtrees-22d3f476e3795f434c450953839c40dafd6b75aa.tar.gz webtrees-22d3f476e3795f434c450953839c40dafd6b75aa.tar.bz2 webtrees-22d3f476e3795f434c450953839c40dafd6b75aa.zip | |
add thumbnails
Diffstat (limited to 'includes/functions')
| -rw-r--r-- | includes/functions/functions_print_lists.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/functions/functions_print_lists.php b/includes/functions/functions_print_lists.php index e5e2aa4f3d..985a4644de 100644 --- a/includes/functions/functions_print_lists.php +++ b/includes/functions/functions_print_lists.php @@ -1077,7 +1077,7 @@ function print_media_table($datalist, $legend="") { //-- Object name(s) $name = $media->getFullName(); echo "<td class=\"list_value_wrap\" align=\"", get_align($name), "\">"; - echo "<a href=\"", encode_url($media->getLinkUrl()), "\" class=\"list_item name2\">", PrintReady($name), "</a>"; + echo "<a href=\"", encode_url($media->getLinkUrl()), "\" class=\"list_item name2\">", '<img src=', thumbnail_file($media->file, false), ' height="15" /> ', PrintReady($name), "</a>"; if ($SHOW_MEDIA_FILENAME || WT_USER_IS_ADMIN) echo "<br /><a href=\"", encode_url($media->getLinkUrl()), "\">", basename($media->file), "</a>"; //echo "<br />", $media->getFiletype(); |
