답변 3개 / 댓글 10개
채택된 답변
+20 포인트
list.skin.php 상단에
include_once(G5_LIB_PATH.'/thumbnail.lib.php');
해주시고 해당이미지 출력될곳 상단에
<?php $thumb = get_list_thumbnail($bo_table, $rows['wr_id']; ?>
붙여주시고
<?php if (thumb == true) {?> <img src='<?php echo $thumb["src"] ?>' /> <?php} ?>
한번 해봐주세요
답변에 대한 댓글 8개
네네 맨 윗줄에 코드 입력하고
[code] <div class="utu clearfix">
<div class="yty_img">
<?php
$thumb = get_list_thumbnail($bo_table, $rows['wr_id'], $board['bo_gallery_width'],
$board['bo_gallery_height']);
?>
<?php
if ($thumb == true) {?>
<img src='<?php echo $thumb["src"]; ?>' />
<?php } else if ($thumb == false) { echo "이미지없음"; } ?>
</div> [/code]
이렇게 입력하고 이미지를 새로 첨부해 봤는데도 올라가진 않았습니다
[code] <div class="utu clearfix">
<div class="yty_img">
<?php
$thumb = get_list_thumbnail($bo_table, $rows['wr_id'], $board['bo_gallery_width'],
$board['bo_gallery_height']);
?>
<?php
if ($thumb == true) {?>
<img src='<?php echo $thumb["src"]; ?>' />
<?php } else if ($thumb == false) { echo "이미지없음"; } ?>
</div> [/code]
이렇게 입력하고 이미지를 새로 첨부해 봤는데도 올라가진 않았습니다
$thumb = get_list_thumbnail($bo_table, $rows['wr_id'], $board['bo_gallery_width'], $board['bo_gallery_height']);
위 부분을
$thumb = get_list_thumbnail($board['bo_table'], $list[$i]['wr_id'], $board['bo_gallery_width'], $board['bo_gallery_height'], false, true);
이렇게 바까주셔여
위 부분을
$thumb = get_list_thumbnail($board['bo_table'], $list[$i]['wr_id'], $board['bo_gallery_width'], $board['bo_gallery_height'], false, true);
이렇게 바까주셔여
이 스킨을 참고하셔서 작업하시는게 수월해 보입니다.
답변을 작성하려면 로그인이 필요합니다.
list.skin.php 상단에
include_once(G5_LIB_PATH.'/thumbnail.lib.php');
붙이고나서 이미지출력위치에
<?php
$thumb = get_list_thumbnail($bo_table, $rows['wr_id'], $board['bo_gallery_width'], $board['bo_gallery_height']);
?>
<?php
if ($thumb == true) {?>
<img src='<?php echo $thumb["src"]; ?>' />
<?php } else if ($thumb == false) { echo "이미지없음"; } ?>
요롷케 작성해주세요