임윤택님 잘데네요.. 그리고요..? 정보
그누보드 임윤택님 잘데네요.. 그리고요..?
본문
이미지를 클릭했을 때 새 창으로 뜨게 하시려면요...
if (preg_match($cfg[image_extension], $file))
return "<img src='$reldir/$cfg[dir_file]/$board[bo_table]/$file' width='130' height='150' border=0><p>";
아까 이 부분을
$homepath = "http://홈페이지주소/bbs";
if (preg_match($cfg[image_extension], $file))
return "<a href='$homepath/$cfg[dir_file]/$board[bo_table]/$file' target='_new'><img src='$reldir/$cfg[dir_file]/$board[bo_table]/$file' width='130' height='150' border=0></a><p>";
정도로 수정해 주시면 될 듯 합니다.
$homepath = "http://홈페이지주소/bbs"는 정수경님 홈페이지 주소에 그누보드의 bbs 디렉토리 위치로 써 주시면 됩니다. (만약 홈페이지 주소가 a.com이고, 그누보드가 웹에서 http://a.com에서 보인다면, $homepath="http://a.com/bbs"로 쓰시면 되겠습니다)
if (preg_match($cfg[image_extension], $file))
return "<img src='$reldir/$cfg[dir_file]/$board[bo_table]/$file' width='130' height='150' border=0><p>";
아까 이 부분을
$homepath = "http://홈페이지주소/bbs";
if (preg_match($cfg[image_extension], $file))
return "<a href='$homepath/$cfg[dir_file]/$board[bo_table]/$file' target='_new'><img src='$reldir/$cfg[dir_file]/$board[bo_table]/$file' width='130' height='150' border=0></a><p>";
정도로 수정해 주시면 될 듯 합니다.
$homepath = "http://홈페이지주소/bbs"는 정수경님 홈페이지 주소에 그누보드의 bbs 디렉토리 위치로 써 주시면 됩니다. (만약 홈페이지 주소가 a.com이고, 그누보드가 웹에서 http://a.com에서 보인다면, $homepath="http://a.com/bbs"로 쓰시면 되겠습니다)
댓글 전체