dq썸네일엔진... 큰이미지에 적용하고 싶은데...어떻게 하나요? 정보
dq썸네일엔진... 큰이미지에 적용하고 싶은데...어떻게 하나요?첨부파일
본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 : http://오즈베이비.com/board/bbs/board.php?bo_table=3_1gallery
알믄서님의 스킨( http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=48118&sca=%B0%B6%B7%AF%B8%AE&page=4 )을 변형하고 있는 중인데요...
여기에서 사진이 정해놓은 사이즈로 출력이 되어서....
가로 세로 비율 그대로 적용하는 방법이 dq엔진을 쓰면 된다고 해서...
찾긴 찾았는데....적용을 못 시키겠네요..ㅜㅠ
지금 상태는
//작은 이미지 사이즈
$small_width = "100";
$small_height = "70";
//큰이미지
$large_width = "800";
$large_height = "600"; 이렇게 사이즈를 지정 해 주었구요...
-목록부분 -
$list_file = sql_fetch("select bf_file from $g4[board_file_table] where bo_table='$bo_table' and bf_no = '0' and wr_id='{$list[$i][wr_id]}'");
if($list_file[bf_file]) {
$list_file_view[$i] = "<img src='./../data/file/$bo_table/$list_file[bf_file]' style='cursor:pointer' border=0 width=$small_width height=$small_height onmouseover=\"document.getElementById('large').src='./../data/file/$bo_table/$list_file[bf_file]'; document.getElementById('view').href='{$list[$i][href]}'\">";
$list_lfile_view[$i] = "<a id=view href='#'><img id=large src='./../data/file/$bo_table/$list_file[bf_file]' border=0 width=$large_width height=$large_height></a>";
}else {
$list_file_view[$i] = "";
$list_lfile_view[$i] = "";
}
큰사진 나오는 부분 <?=$list_lfile_view[0]?>
작은 사진(목록) 나오는 부분 <?=$list_file_view[$i]?>
이렇습니다...
어떻게 질문을 드려야 할지도 몰라...그냥 붙여 보네요...
답변 부탁 드리겠습니다...
첨부는 어떤걸 해야 하나....thumbEngine 첨부 해 보겠습니다...
다른게 필요하다면 말씀 부탁드리고...꼭 좀 답변 해주시길 바랍니다....간곡히...^^
오류 주소 : http://오즈베이비.com/board/bbs/board.php?bo_table=3_1gallery
알믄서님의 스킨( http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=48118&sca=%B0%B6%B7%AF%B8%AE&page=4 )을 변형하고 있는 중인데요...
여기에서 사진이 정해놓은 사이즈로 출력이 되어서....
가로 세로 비율 그대로 적용하는 방법이 dq엔진을 쓰면 된다고 해서...
찾긴 찾았는데....적용을 못 시키겠네요..ㅜㅠ
지금 상태는
//작은 이미지 사이즈
$small_width = "100";
$small_height = "70";
//큰이미지
$large_width = "800";
$large_height = "600"; 이렇게 사이즈를 지정 해 주었구요...
-목록부분 -
$list_file = sql_fetch("select bf_file from $g4[board_file_table] where bo_table='$bo_table' and bf_no = '0' and wr_id='{$list[$i][wr_id]}'");
if($list_file[bf_file]) {
$list_file_view[$i] = "<img src='./../data/file/$bo_table/$list_file[bf_file]' style='cursor:pointer' border=0 width=$small_width height=$small_height onmouseover=\"document.getElementById('large').src='./../data/file/$bo_table/$list_file[bf_file]'; document.getElementById('view').href='{$list[$i][href]}'\">";
$list_lfile_view[$i] = "<a id=view href='#'><img id=large src='./../data/file/$bo_table/$list_file[bf_file]' border=0 width=$large_width height=$large_height></a>";
}else {
$list_file_view[$i] = "";
$list_lfile_view[$i] = "";
}
큰사진 나오는 부분 <?=$list_lfile_view[0]?>
작은 사진(목록) 나오는 부분 <?=$list_file_view[$i]?>
이렇습니다...
어떻게 질문을 드려야 할지도 몰라...그냥 붙여 보네요...
답변 부탁 드리겠습니다...
첨부는 어떤걸 해야 하나....thumbEngine 첨부 해 보겠습니다...
다른게 필요하다면 말씀 부탁드리고...꼭 좀 답변 해주시길 바랍니다....간곡히...^^
댓글 전체