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개
. $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];
이게 핵심입니다.