테스트 사이트 - 개발 중인 베타 버전입니다

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

· 22년 전 · 1579
{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; }
}

그럼 *^^*

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

게시글 목록

번호 제목
403
그누보드 안녕하세요 4
400
399
394
381
332
380
378
373
369
362
352
351
349
329
그누보드 음 지금
325
315
304
그누보드 설치 오류 6
302
그누보드 회원가입
299