latest 첨부파일2번째사진 채택완료
latest 첨부파일2번째사진
치료전후사진을 만들어서
1번째는 전 사진
2번째는 후 사진
사진을 넣어서 저장하구
라테스트로
불러왓는데 첫번째 사진만 불러와서요
아래소스입니다.
라테스트로 첨부파일 두번째 파일은 가져와서 후사진이 보이게 하고싶습니다!
도와주세요!ㅜㅜ
include_once(G5_LIB_PATH.'/thumbnail.lib.php');
$sql = " select * from {$g5['board_table']} where bo_table = '{$bo_table}' "; $board = sql_fetch($sql); if (!$width) $width = 162; if (!$height) $height = 110;
if (count($list) == 0) { //게시물이 없을 때 echo "
- 게시물이 없습니다.
$listHtml_s = "
- ";
$indexNum = 0;
for ($i=0; $i
- ";
/*$listHtml_s .= "
";*/
$listHtml_s .= "
".$cut_subject.""; }$listHtml_s .= "
$thumb = get_list_thumbnail($board['bo_table'], $list[$i]['wr_id'], $width, $height); $listHtml_s .= "
?>
답변 2개
댓글을 작성하려면 로그인이 필요합니다.
</p>
<p> $wr_content = $list[$i]['wr_content'];
$matches = get_editor_image($wr_content, false);
$con_img1 = $matches[1][0];
$con_img2 = $matches[1][1];</p>
<p> </p>
<p> $list[$i]['file'] = get_file($bo_table, $list[$i]['wr_id']);
$file_img1 = $list[$i]['file'][0]['path'].'/'.$list[$i]['file'][0]['file'];
$file_img2 = $list[$i]['file'][1]['path'].'/'.$list[$i]['file'][1]['file'];</p>
<p>
썸네일의 경우는 thumbnail()을 사용하시면 됩니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인