최신 갤러리 이미지 적용시 이미지 엑박이요ㅠ > 그누4 질문답변

그누4 질문답변

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

최신 갤러리 이미지 적용시 이미지 엑박이요ㅠ 정보

최신 갤러리 이미지 적용시 이미지 엑박이요ㅠ

본문

최신 갤러리 이미지 적용시
이미지가 엑박이에요...
경로 문제인거 같은데ㅜㅜ 도와주세요
이미지도 엑박이고 이미지 클릭시 오류가 납니다
공지사항같은 텍스트로된 최신글은 오류가 안나는데
꼭 이미지만 사용하면 에러가 나요ㅜ

참고로 html 폴더에 그누보드 폴더가 있구요

이게 소스에요ㅜ 죄송해요 요며칠 계속 같은글만 써서

<?
if (!defined("_GNUBOARD_")) exit; // 
?>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>

<table align="center" cellpadding="0" cellspacing="0" width="100%" border="0" id="table1">
<tr height="1">
<td bgcolor="#d9d9d9" colspan="3"></td>
</tr>
<tr>
<td width="1" bgcolor="#d9d9d9"></td>
<td>
<table cellpadding="0" cellspacing="2" width="100%" id="table2">
<tr>
<td background="<?=$latest_skin_path?>/img/title_bg_25.gif">
<table cellpadding="5" cellspacing="0" width="100%" border="0" id="table3">
<tr height="25">
<td>
<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><font color="#555555" ><b><?=$board[bo_subject]?></b></font></a></td>
<td align="right">
<img src='<?=$latest_skin_path?>/img/icon.gif'><span style="font-size: 12px; color: #646464; font-family:dotum; letter-spacing:-1;"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'>&nbsp;더 보기</a></span>&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="1" bgcolor="#d9d9d9"></td>
</tr>
<tr height="1">
<td bgcolor="#d9d9d9" colspan="3"></td>
</tr>
</table>

<table align="center" cellpadding="0" cellspacing="0" width="100%" border="0" id="table6">
<tr height="5"><td width="1" bgcolor="#d9d9d9" height="3"></td>
<td colspan="2" height="3"></td>
<td width="1" bgcolor="#d9d9d9" height="3"></td></tr>
<? for ($i=0; $i<count($list); $i++) {?>
<tr>
<td width="1" bgcolor="#d9d9d9"></td>
<td width="5"></td>
<td height="21">

<table width=100% cellpadding=0 cellspacing=0 style="border-collapse:collapse;" style="border-top-width:0; border-right-width:0; border-bottom-width:0; border-left-width:0; border-top-color:rgb(181,181,181); border-right-colorrgb(181,181,181); border-bottom-color:rgb(181,181,181); border-left-color:rgb(181,181,181); border-style:solid;" id="table7">
<colgroup width=14>
<colgroup>
<colgroup width=37>
<colgroup width=14>
       
        <tr>
            <td width="100%" style="border-width:0; border-color:black; border-style:solid;">
                <table width=0 border=0 id="table8">
<tr>
                        <?
for ($i=0; $i<count($list); $i++)
{
    if ($i > 0)
        echo '';

    $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='0' valign='top' align=''>
        <table border="0" id="table2" cellspacing="0" cellpadding="0">
<tr>
<td>
        <table border="0" id="table3" cellspacing="1" bgcolor="#DFDAC8">
<tr>
<td bgcolor="#FFFFFF">
<a href="{$list[$i][href]}">
<img style="FILTER: alpha(opacity=100)" onmouseover="this.style.filter = 'alpha(opacity=50)';" onmouseout="this.style.filter='none';" border="0" src="{$img}" width="93" height="80"></a></td>
</tr>
</table>
    </td>
</tr>
</table>
    </td>
HEREDOC;
}
?>
</tr>
</table>
<? if (count($list) == 0) { ?>아직없음.<? } ?></tr></table>
</td>
<!--게시물 추출 글자 설정 끝-->
<td width="1" bgcolor="#d9d9d9"></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><? } ?>
<tr height="5"><td width="1" bgcolor="#d9d9d9" height="3"></td>
<td colspan="2" height="3"></td>
<td width="1" bgcolor="#d9d9d9" height="3"></td></tr>
<tr height="1">
<td bgcolor="#d9d9d9" colspan="4"></td>
</tr>
</table>

댓글 전체

전체 66,558 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT