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
}
} elseif ($is_image && $file['hotlink']) {
$sizes = serendipity_calculate_aspect_size($file['dimensions_width'], $file['dimensions_height'], $serendipity['thumbSize']);
- $preview .= '<img src="' . $serendipity['serendipityHTTPPath'] . $file['path'] . '" width="' . $sizes[0] . '" height="' . $sizes[1] . '" border="0" title="' . $file['path'] . '" alt="'. $file['name'] . '" />';
+ $preview .= '<img src="' . $file['path'] . '" width="' . $sizes[0] . '" height="' . $sizes[1] . '" border="0" title="' . $file['path'] . '" alt="'. $file['name'] . '" />';
if ($url) {
$preview = '<a href="'. $url .'&serendipity[image]='. $file['id'] .'">'. $preview .'</a>';
}