겔러리게시판 최신글(이미지) 팝업으로.. 질문입니다

· 20년 전 · 2962
겔러리 게시판의 최신글일 경우 최신글에 섬네일을 불러 오게 되어 있는데.

(참고로 최신글 스킨은 http://www.sir.co.kr/?doc=bbs/gnuboard.php&bo_table=g4_skin&page=1&wr_id=285
을 사용하려 합니다.)

섬네일을 클릭 하게 되면 새창으로 원본 이미지를 띄우게 할 수 있는 방법을 알고 싶습니다.
워낙 php 초보라서 잘 안돼네요..

도와주세요..

///////////// 바꾸어야 할 부분은 이곳 같은뎅..
<?
echo $list[$i][icon_reply] . " ";
echo "<a href='{$list[$i][href]}'>";
$image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
if (preg_match("/\.(gif|jpg|png)$/i", $image)) {
echo "<img src='$g4[path]/data/file/$bo_table/$image' width='45' height='45' border='0'>"; // 이미지크기
} else
echo "<img src='$board_skin_path/img/no_image.jpg' alt='이미지 없음' width='45' height='45' border='0'>"; ?></td></tr></table></td>
<td width="97%" align="center"><table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20" style="border-bottom:#f1f1f1 solid 1px">
<? echo "<a href='{$list[$i][href]}'>";
if ($list[$i][is_notice])
echo "<font class=w_notice><strong>{$list[$i][subject]}</strong></font>";
else
echo "<font class=w_list>{$list[$i][subject]}</font>";
echo "</a>";
|
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
20년 전 조회 2,993
20년 전 조회 2,980
20년 전 조회 3,691
20년 전 조회 3,575
20년 전 조회 3,616
20년 전 조회 3,639
20년 전 조회 3,535
20년 전 조회 3,506
20년 전 조회 4,041
20년 전 조회 2,963
20년 전 조회 4,005
20년 전 조회 3,229
20년 전 조회 3,096
20년 전 조회 3,624
20년 전 조회 5,656
20년 전 조회 3,512
20년 전 조회 2,995
20년 전 조회 3,267
20년 전 조회 3,566
20년 전 조회 3,600