From: garvinhicking Date: Fri, 4 Nov 2005 10:49:07 +0000 (+0000) Subject: Fix path reference X-Git-Tag: 1.0~330 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=65ace2c27257a4887b3edb99f69f0a0bce160a4c;p=s9y.git Fix path reference --- diff --git a/docs/NEWS b/docs/NEWS index b9153cc..b5055ea 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -10,6 +10,9 @@ Version 1.0 () Version 0.9.1 () ------------------------------------------------------------------------ + * Fix showing preview image of hotlinked images. Thanks to Thomas + and RobA from the forums! (garvinhicking) + * Make Onyx RSS parser interpret HTTP redirecty. (Kristian Köhntopp) * Added blogger.com importer by Jawish Hameed diff --git a/include/functions_images.inc.php b/include/functions_images.inc.php index f2192ea..d18fd12 100644 --- a/include/functions_images.inc.php +++ b/include/functions_images.inc.php @@ -1047,7 +1047,7 @@ function serendipity_displayImageList($page = 0, $lineBreak = NULL, $manage = fa } } elseif ($is_image && $file['hotlink']) { $sizes = serendipity_calculate_aspect_size($file['dimensions_width'], $file['dimensions_height'], $serendipity['thumbSize']); - $preview .= ''. $file['name'] . ''; + $preview .= ''. $file['name'] . ''; if ($url) { $preview = ''. $preview .''; }