으

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

· 2013-03-02 (토) 04:29:19 · 1689 · 1
123.PNG
321.PNG
최신 갤러리 이미지 적용시
이미지가 엑박이에요...
경로 문제인거 같은데ㅜㅜ 도와주세요
이미지도 엑박이고 이미지 클릭시 오류가 납니다

참고로 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?>'> 더 보기</a></span> </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>

첨부파일

123.PNG (5.9 KB)
0회 2013-02-19 19:52
321.PNG (12.2 KB)
0회 2013-02-19 19:52

댓글 1개

board/gallery/ 해당 폴더에 view.skin.php 파일이 없어 열수 없다고 하네요.

view.skin.php 파일이 있는지 확인해 보시고.

경로를 맞게 설정해 주세요.
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
13-03-02 조회 1,351
13-03-02 조회 1,690
13-03-02 조회 868
13-03-01 조회 1,770
13-03-01 조회 1,145
13-03-01 조회 1,078
13-03-01 조회 1,080
13-03-01 조회 1,263
13-03-01 조회 1,007
13-03-01 조회 1,674
13-03-01 조회 981
13-03-01 조회 3,234
13-03-01 조회 1,563
13-03-01 조회 1,862
13-03-01 조회 1,748
13-03-01 조회 1,123
13-03-01 조회 1,650
13-03-01 조회 1.5만
13-03-01 조회 1,702
13-03-01 조회 868