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

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

(참고로 최신글 스킨은 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,973
20년 전 조회 2,953
20년 전 조회 3,669
20년 전 조회 3,547
20년 전 조회 3,595
20년 전 조회 3,612
20년 전 조회 3,509
20년 전 조회 3,480
20년 전 조회 4,021
20년 전 조회 2,938
20년 전 조회 3,983
20년 전 조회 3,214
20년 전 조회 3,075
20년 전 조회 3,597
20년 전 조회 5,632
20년 전 조회 3,490
20년 전 조회 2,976
20년 전 조회 3,226
20년 전 조회 3,543
20년 전 조회 3,570
🐛 버그신고