From: garvinhicking Date: Fri, 4 Nov 2005 10:49:32 +0000 (+0000) Subject: Fix preview path X-Git-Tag: 0.9.1~45 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0263f07bdc3d0805a95497f77d4b754bd1a6d19b;p=s9y.git Fix preview path --- diff --git a/docs/NEWS b/docs/NEWS index 830c14e..e65a72d 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,9 @@ 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 .''; }