diff --git a/skin/board/gallery/list.skin.php b/skin/board/gallery/list.skin.php
index 5c1b9df78..eacd0d8be 100644
--- a/skin/board/gallery/list.skin.php
+++ b/skin/board/gallery/list.skin.php
@@ -81,22 +81,25 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
-
- if ($list[$i]['is_notice']) { // 공지사항 ?>
- 공지
- } else { ?>
- $file = get_list_file($bo_table, $list[$i]['wr_id']);
-
- $filepath = G4_DATA_PATH.'/file/'.$bo_table;
- if(preg_match("/\.({$config['cf_image_extension']})$/i", $file['bf_file']) && is_file($filepath.'/'.$file['bf_file'])) {
- $thumb = get_list_thumbnail($file['bf_file'], $filepath, $board['bo_gallery_width'], $board['bo_gallery_height']);
- $imgsrc = G4_DATA_URL.'/file/'.$bo_table.'/'.$thumb;
+ if ($list[$i]['is_notice']) { // 공지사항 ?>
+ 공지
+
} else {
- $imgsrc = $board_skin_url.'/img/noimg.jpg';
+ $file = get_list_file($bo_table, $list[$i]['wr_id']);
+
+ $filepath = G4_DATA_PATH.'/file/'.$bo_table;
+ if(preg_match("/\.({$config['cf_image_extension']})$/i", $file['bf_file']) && is_file($filepath.'/'.$file['bf_file'])) {
+ $thumb = get_list_thumbnail($file['bf_file'], $filepath, $board['bo_gallery_width'], $board['bo_gallery_height']);
+ $imgsrc = G4_DATA_URL.'/file/'.$bo_table.'/'.$thumb;
+ $img_content = '
';
+ } else {
+ $img_content = 'no image';
+ }
+
+ echo $img_content;
}
?>
-
- } ?>
-