list.skin.php 에서 이미지원본을 불러오고싶어요..
본문
list.skin.php 에서 이미지원본을 불러오고싶어서요..
$thumb = get_list_thumbnail($board['bo_table'], $list[$i]['wr_id'], $board['bo_gallery_width'], "");
}
$img_content = '<img class="tmb" src="'.$thumb['src'].'" alt="'.$thumb['alt'].'" width="'.$board['bo_gallery_width'].'" class=example-image/>';
} else {
$img_content = '<span class="no_img tmb">no image</span>';
}
썸네일은 위와같이 경로로 불러올 수 있어서 쉬운데..
썸네일 말구..원본이미지 파일을 불러오고싶습니다.. bf_file .
답변 1
$sql = " select bf_file, bf_content from {$g5['board_file_table']}
where bo_table = '$bo_table' and wr_id = '{$list[$i]['wr_id']}' and bf_type between '1' and '3' order by bf_no limit 0, 1 ";
$thumb = sql_fetch($sql);
echo $thumb['bf_file'];
답변을 작성하시기 전에 로그인 해주세요.