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

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

QA

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

답변 1

본문

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

 

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 61,025
© SIRSOFT
현재 페이지 제일 처음으로