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

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

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

그누3질답

+
제목 글쓴이 날짜 조회
22년 전 조회 1,398
22년 전 조회 2,159
22년 전 조회 1,357
22년 전 조회 1,682
22년 전 조회 1,360
22년 전 조회 1,580
22년 전 조회 1,269
22년 전 조회 1,775
22년 전 조회 1,327
22년 전 조회 1,656
22년 전 조회 1,350
22년 전 조회 1,587
22년 전 조회 2,320
22년 전 조회 1,637
22년 전 조회 1,356
22년 전 조회 1,442
22년 전 조회 1,318
22년 전 조회 1,610
22년 전 조회 1,488
22년 전 조회 1,637
🐛 버그신고