최근게시물 관련 문제점
메인화면에 사진을 최근게시물로 꺼내놓았는데요 확인해보니까 최근게시물에 나와있는 사진에 글자가 조그맣게 적혀있어요.. 자세히보니 제목아니면 내용에 적었던 글 같은데 이게 왜나오는거지요?
---------------------------------------------------------------------
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$data_path = $g4[path]."/data/file/$bo_table";
$thumb_path = $data_path.'/thumb';
$img_width = '103'; //썸네일 가로길이
$img_height = '69'; //썸네일 세로길이
$img_padding = '2'; //썸네일 여백
?>
<table width="310" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<?
$image = $list[$i][file][0][file]; //원본 리사이즈_아래 자바와 연동_추가
$img=$data_path. "/".$image; //썸네일이 없을경우 원본출력
$thumb = $thumb_path. "/". $list[$i][wr_id];
if ( file_exists($thumb) )
$img = $thumb;
if (!$image)
echo "<td width=50% align=center valign='top'><table cellpadding='0' cellspacing='1' border='0' style='border:#e0e0e0 1 solid; background-color:#f8f8f8;'><tr><td valign='top' align='center'><a href='{$list[$i][href]}'><img src='{$latest_skin_path}/img/noimage.gif' border='0' width='{$img_width}' height='{$img_height}' align='absmiddle' style='width:94px;height:68px;'></a></td></tr></table></td>";
else
echo "<td width=50% align=center valign='top'><table cellpadding='0' cellspacing='1' border='0' style='border:#e0e0e0 1 solid; background-color:#f8f8f8;'><tr><td valign='top' align='center'><a href='{$list[$i][href]}'><img src='{$img}' width='{$img_width}' border='0' height='{$img_height}' align='absmiddle' style='width:94px;height:68px;'></a></td></tr></table></td>";
?>
<? } ?>
<td width=50%> </td>
</tr>
</table>
</td>
</tr>
</table>
---------------------------------------------------------------------
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$data_path = $g4[path]."/data/file/$bo_table";
$thumb_path = $data_path.'/thumb';
$img_width = '103'; //썸네일 가로길이
$img_height = '69'; //썸네일 세로길이
$img_padding = '2'; //썸네일 여백
?>
<table width="310" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<?
$image = $list[$i][file][0][file]; //원본 리사이즈_아래 자바와 연동_추가
$img=$data_path. "/".$image; //썸네일이 없을경우 원본출력
$thumb = $thumb_path. "/". $list[$i][wr_id];
if ( file_exists($thumb) )
$img = $thumb;
if (!$image)
echo "<td width=50% align=center valign='top'><table cellpadding='0' cellspacing='1' border='0' style='border:#e0e0e0 1 solid; background-color:#f8f8f8;'><tr><td valign='top' align='center'><a href='{$list[$i][href]}'><img src='{$latest_skin_path}/img/noimage.gif' border='0' width='{$img_width}' height='{$img_height}' align='absmiddle' style='width:94px;height:68px;'></a></td></tr></table></td>";
else
echo "<td width=50% align=center valign='top'><table cellpadding='0' cellspacing='1' border='0' style='border:#e0e0e0 1 solid; background-color:#f8f8f8;'><tr><td valign='top' align='center'><a href='{$list[$i][href]}'><img src='{$img}' width='{$img_width}' border='0' height='{$img_height}' align='absmiddle' style='width:94px;height:68px;'></a></td></tr></table></td>";
?>
<? } ?>
<td width=50%> </td>
</tr>
</table>
</td>
</tr>
</table>
첨부파일
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
댓글 8개
1. 문의하고자 하는 화면캡쳐
2. 문의하고자 할때 사용한 소스코드 묶음(파일 다운로드)
3. 수정한 내역이나 자기 자신이 분석했던 내용들... 추가...
1~3번이 전혀 없네요.
해당 글씨가 처리되는 내역이 위 소스코드에는 없습니다. (원인이 없습니다)
혹시 워터마크출력하는 소스를 사용하시나요?
수정내역이 있다면 적어주셔야 합니다.
답변 하시는 분들은 신(?)이 아니므로, 글쓴이 분이 어떠한 작업을
진행하셨는지 전혀 알수 없습니다.
그 워커 마크 적용부분을 지워버리세요.