}
$file = serendipity_fetchImageFromDatabase($serendipity['GET']['image']);
- if (!is_array($file)) {
- echo PERM_DENIED;
- break;
- }
$file['imgsrc'] = $serendipity['serendipityHTTPPath'] . $serendipity['uploadHTTPPath'] . $file['path'] . $file['name'] . (!empty($file['thumbnail_name']) ? '.' . $file['thumbnail_name'] : '') . '.' . $file['extension'];
if ($file['hotlink']) {
$imgName = $file['path'];
<div>
<?php
- if (!file_exists($file['imgsrc']) && $is_image) {
+ if ($is_image) {
$dimWidth = $file['dimensions_width'];
$dimHeight = $file['dimensions_height'];