최신갤러리 출력 이미지 간격 > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

최신갤러리 출력 이미지 간격 정보

최신갤러리 출력 이미지 간격

본문

그누보드 자체에서 최신갤러리로 출력되는 이미지 간격을 조절하는 부분이 있나요?
최신갤러리 스킨을 아무리 봐도 없는것 같아서요.
 
 
<?
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<!-- <?=$board[bo_subject]?> (<?=$board[bo_table]?>) 최신글 -->
<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>
<tr><td align='center'>
<!--
<table width='100%' border='0' cellspacing='0' cellpadding='0' align='center'>
<tr>
    <td width='226'> <img src='<?=$latest_skin_path?>/img/icon.gif' align='absmiddle'> <strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><font color=#0EAAB0><?=$board[bo_subject]?></font></a></strong></td>
    <td width='49'><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$latest_skin_path?>/img/more.gif' border=0></a></td>
  </tr>
  <tr>
   <td colspan=2 height=2 background='<?=$latest_skin_path?>/img/bar1.gif'></td>
  </tr>
</table>
-->
</td></tr>
<tr><td align='center'>
<table width='100%' border='0' cellspacing='0' cellpadding='0' align='center'>
<tr>
<?
for ($i=0; $i<count($list); $i++)
{
    if ($i > 0)
        echo '<td width=20> </td>';
     $title = get_text($list[$i][wr_subject]);
    $content = cut_str(get_text($list[$i][wr_content]), 80);
    $img = "$g4[path]/data/file/$bo_table/".urlencode($list[$i][file][0][file]);
    if (!file_exists($img) || !$list[$i][file][0][file])
        $img = "$latest_skin_path/img/no_image.gif";
    $href = "$g4[bbs_path]/board.php?bo_table=$bo_table";
    echo <<<HEREDOC
    <td width='120' valign='top' align='center'>
        <table width='120' border='0' cellpadding='0' cellspacing='0' align='center'>
 <tr>
            <td width='120' height='5' align='center'></td>
 </tr>
        <tr>
            <td width='100' height='80' align='center'>
  <div style='width:100px;height:80px;border:1px solid #CCCCCC;padding:3px' align='center'>
  <a href='$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id={$list[$i][wr_id]}' onfocus='this.blur();'><img src='{$img}' width='100' height='80' border='0' align='absmiddle' title='$title'></a>
  </div>
     </td>
        </tr>
 <tr>
            <td width='120' height='3' align='center'></td>
 </tr>
 <tr>
            <td width='120' height='20' align='center'><font style='font-family:돋움; font-size:9pt; color:#CCCCCC;'><a href='$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id={$list[$i][wr_id]}' onfocus='this.blur();'>{$list[$i][subject]}</a></font></td>
 </tr>
 </table>
    </td>
HEREDOC;
}
?>
</tr>
<? if (count($list) == 0) { ?>
<tr><td colspan=2 align='center' height=25>게시물이 없습니다.</td></tr>
<? } ?>
</table>
</td></tr>
</table>
 
위의 스킨에서는 이미지 간격을 제어하는 부분이 없어보입니다.
  • 복사

댓글 전체

이 최신글 스킨 말고 밖에서 불러오는 과정의 셀 크기에 따라서 크기는 변형 됩니다.

테이블의 크기가 100%로 선언이 되어있기 때문에.

따라서 최신글을 불러오는 부분의 셀크기 혹은 테이블의 크기를 변경하시기 바랍니다.
© SIRSOFT
현재 페이지 제일 처음으로