latest.skin.php 문의드립니다 정보
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="";
}
?>
첨부파일 / 에디터 파일 다 섬네일로 나타내고 싶은데요...어떻게 해야할지 ㅠㅠ
모바일로 사용하다보니 애매합니다 ㅠㅠ
댓글 전체

썸네일이 어떻게 만들어지는지 모르겟지만..
. $list[$i][file][0]."thumb_".[file] // 이런류 아닌가요?
. $list[$i][file][0]."thumb_".[file] // 이런류 아닌가요?

썸네일이 되게 만들어 둔 경우(갤러리 스킨 사용시)
$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];
이게 핵심입니다.
핵심 놓치지 않고 잘 해결해봐야겠네요 감사합니다 ;;