썸네일 함수 안됨 ㅠㅠ
본문
<?php
include_once(G5_LIB_PATH.'/thumbnail.lib.php');
$sql = " select * from g5_submit_file where submit_id = (select submit_id from g5_submit where tasker_id = '{$_SESSION['ss_mb_id']}' and wr_id = '{$view['wr_id']}' )";
$result = sql_fetch($sql);
$img = thumbnail('http://test.co.kr/data/submit/'.urlencode($result['bf_file']),'','',400,400,false);
echo "http://test.co.kr/data/submit/".urlencode($result['bf_file']);
?>
<img src="<?php echo $img; ?>">
썸네일 함수가 사용이 안되서 echo를 출력해봤는데
3696597773_q5ce3gFK_fadda8d845654805a385091cf69aca574ba0ad36.PNG 이런식으로 파일이름은 잘 출력이됩니다...
thumbnail( ) 함수에 문제점이 있을까요...? 작은따옴표를 잘못썻다던지...
!-->
답변을 작성하시기 전에 로그인 해주세요.