latest.skin.php 문의드립니다
<?
for ($i=0; $i<count($list); $i++) {
$list[$i]['content']=eregi_replace(" "," ",$list[$i]['content']);
if($list[$i][file][0][file]) {
$file = "<img src='".$list[$i][file][0][path] .'/'. $list[$i][file][0][file]."' align=absmiddle width=\"100\" height=\"80\">";
} else {
$file="";
}
?>
첨부파일 / 에디터 파일 다 섬네일로 나타내고 싶은데요...어떻게 해야할지 ㅠㅠ
모바일로 사용하다보니 애매합니다 ㅠㅠ
for ($i=0; $i<count($list); $i++) {
$list[$i]['content']=eregi_replace(" "," ",$list[$i]['content']);
if($list[$i][file][0][file]) {
$file = "<img src='".$list[$i][file][0][path] .'/'. $list[$i][file][0][file]."' align=absmiddle width=\"100\" height=\"80\">";
} else {
$file="";
}
?>
첨부파일 / 에디터 파일 다 섬네일로 나타내고 싶은데요...어떻게 해야할지 ㅠㅠ
모바일로 사용하다보니 애매합니다 ㅠㅠ
댓글 3개
12년 전
썸네일이 어떻게 만들어지는지 모르겟지만..
. $list[$i][file][0]."thumb_".[file] // 이런류 아닌가요?
. $list[$i][file][0]."thumb_".[file] // 이런류 아닌가요?
12년 전
썸네일이 되게 만들어 둔 경우(갤러리 스킨 사용시)
$data_path = $g4[path]."/data/file/$bo_table";
$thumb_path = $data_path.'/thumb';
$thumb = $thumb_path.'/'.$list[$i][wr_id];
이게 핵심입니다.
$data_path = $g4[path]."/data/file/$bo_table";
$thumb_path = $data_path.'/thumb';
$thumb = $thumb_path.'/'.$list[$i][wr_id];
이게 핵심입니다.
12년 전
핵심 놓치지 않고 잘 해결해봐야겠네요 감사합니다 ;;
게시글 목록
| 번호 | 제목 |
|---|---|
| 284255 | |
| 284248 | |
| 284247 | |
| 284246 | |
| 284242 | |
| 284238 | |
| 284234 | |
| 284233 | |
| 284229 | |
| 284224 | |
| 284222 | |
| 284215 | |
| 284213 | |
| 284212 | |
| 284209 | |
| 284208 | |
| 284201 | |
| 284193 | |
| 284192 | |
| 284174 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기