latest 섬네일 엑박 오류입니다. 채택완료
섬네일이 엑박이 뜨네요~
<div class="la_photo">
<h3><em class="tt_gb"><a href="<?=$board['href']?>"><?=$board['title']?></a></em></h3>
<ul>
<? for($i=0,$cnt=count($list);$i<$cnt;$i++) { ?>
<li><a href="<?=$list[$i]['href']?>"><img src="<?=$list[$i]['thumb_path']?>/0" width="<?=$latest['img_width']?>" height="<?=$latest['img_height']?>" alt="" /></a><span><a href="<?=$list[$i]['href']?>"><?=$list[$i]['subject']?></a></span></li>
<? } ?>
</ul>
</div>
<h3><em class="tt_gb"><a href="<?=$board['href']?>"><?=$board['title']?></a></em></h3>
<ul>
<? for($i=0,$cnt=count($list);$i<$cnt;$i++) { ?>
<li><a href="<?=$list[$i]['href']?>"><img src="<?=$list[$i]['thumb_path']?>/0" width="<?=$latest['img_width']?>" height="<?=$latest['img_height']?>" alt="" /></a><span><a href="<?=$list[$i]['href']?>"><?=$list[$i]['subject']?></a></span></li>
<? } ?>
</ul>
</div>
이게 latest.htm에 들어있는 소스이구요~
이미지 경로를 보니
이렇게 나오네요~ 폴더는 당연히 없구요//
자동으로 파일 생성된곳은
주소/home/data/file/gallery6/thumbs/1888607037_8Aa7p5Zq_20120728_091330
이런식으로 생성되어 있더라구요~
경로가 다른곳을 불러오는데
섬네일이 다 엑박으로 나오는데 어디를 어떻게 수정해야 할까요
답변 1개
11년 전
해당 최신글 소스 전체를 올려주세요.
썸네일이 어덯게 생성되는지 썸네일명은 어떻게 정의하는지를 알아야 경로를 만들어드릴수 잇을듯요.
로그인 후 평가할 수 있습니다
답변에 대한 댓글 1개
퇴근후밥상
11년 전
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인
카멜레온빌더엿나 그거 다운받아서 사용한거라서~~ 관리자에서
디자인관리 > 메인페이지설정 여기에 등록된걸 불러온건데 어디를 올려야할까요//
요건 skin > latest > basic 에 있는 latest.skin.php 인데 이거올리는거 맞나요?
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width=14><img src='<?=$latest_skin_path?>/img/latest_t01.gif'></td>
<td width='100%' background='<?=$latest_skin_path?>/img/bg_latest.gif'> <strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a></strong></td>
<td width=37 background='<?=$latest_skin_path?>/img/bg_latest.gif'><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$latest_skin_path?>/img/more.gif' border=0></a></td>
<td width=14><img src='<?=$latest_skin_path?>/img/latest_t02.gif'></td>
</tr>
</table>
<table width=100% cellpadding=0 cellspacing=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td colspan=4 align=center>
<table width=95%>
<tr>
<td height=25><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i]['subject']}</font>";
echo "</a>";
if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i]['comment_cnt']}</span></a>";
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
echo " " . $list[$i]['icon_new'];
echo " " . $list[$i]['icon_file'];
echo " " . $list[$i]['icon_link'];
echo " " . $list[$i]['icon_hot'];
echo " " . $list[$i]['icon_secret'];
?></td></tr>
<tr><td bgcolor=#EBEBEB height=1></td></tr>
</table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
</table>