ⓒⓒⓒ 님이 이미지에 대해서 알려주셨는데...관리자님 봐주세요.....^^ > 그누3질답

그누3질답

ⓒⓒⓒ 님이 이미지에 대해서 알려주셨는데...관리자님 봐주세요.....^^ 정보

그누보드 ⓒⓒⓒ 님이 이미지에 대해서 알려주셨는데...관리자님 봐주세요.....^^

본문

{var:파일아이콘}<img src='{절대경로}/{스킨디렉토리}/{스킨}/icon_file.gif' align=absmiddle>{/var:파일아이콘}
이부분에다 넣어주면되는데 문제는 gbview.ets에서는
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {mask:이미지}
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {var:이미지}<img src='{절대경로}/{파일디렉토리}/{이미지}' width='{이미지x}' height='{이미지y}' alt='원본사이즈 : {사이즈x} x {사이즈y}'><p>{/var:이미지}
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {var:플래쉬}<embed src='{절대경로}/{파일디렉토리}/{플래쉬}' width='{플래쉬x}' height='{플래쉬y}'></embed><p>{/var:플래쉬}
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {var:동영상}<embed src='{절대경로}/{파일디렉토리}/{동영상}' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/'></embed>{/var:동영상}
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {/mask:이미지}

이런식으로 불러오는데 {파일디렉토리}, {이미지},{이미지x},{이미지y},{사이즈x},{사이즈y}

#######이 변수가 gblist.php에는 선언이 되지않았기때문에 gblist.ets에 출력이 불가능합니다. #######

그래서 gblist.php에서 gbview.php에서 보시면

$body->파일디렉토리 = $cfg[dir_file]; 이부분과
{이미지}, {이미지x},{이미지y},{사이즈x},{사이즈y}이 변수들을 선언하는 부분을 추가해줘될것 같습니다. *^^*
256line for ($i=1; $i<=$cfg[file_count]; $i++) {
 &nbsp; // 이미지라면
 &nbsp; $bd_file = $bd["bd_file$i"];
 &nbsp; if (eregi($cfg[image_extension], $bd_file)) {
 &nbsp; &nbsp; &nbsp; $body->이미지[$i]->파일 = $bd_file;
 &nbsp; }
}

 그럼  *^^*
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로