list.skin.php 에서 이미지원본을 불러오고싶어요..

list.skin.php 에서 이미지원본을 불러오고싶어요..

QA

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​'];

 

답변을 작성하시기 전에 로그인 해주세요.
전체 123,736 | RSS
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT