겔러리리스트에서 노이미지 보이게...
아래는 겔러리 스킨리스트파일의 출력부분인데요...
이소스는 이미지가 없으면 첨부한 이미지처럼 작은 상자만 나오는데....이곳에
noimage.gif 파일이 출력되게 하려면 아래 소스를 어찌 수정하면 되는지요?
답변주시면 대단히 감사하겠습니다.
<?
for ($i=0; $i<count($list); $i++) {
if ($i > 0 && ( $i % $board[bo_gallery_cols]==0 )) {
echo "</tr><tr>";
}
$file_path = "$g4[path]/data/file/$bo_table";
$filename = $list[$i]['file'][0]['file'];
$file = $file_path. "/". $filename;
$size = get_size($file, $max);
$gwidth = $size[w] + 8;
?>
이소스는 이미지가 없으면 첨부한 이미지처럼 작은 상자만 나오는데....이곳에
noimage.gif 파일이 출력되게 하려면 아래 소스를 어찌 수정하면 되는지요?
답변주시면 대단히 감사하겠습니다.
<?
for ($i=0; $i<count($list); $i++) {
if ($i > 0 && ( $i % $board[bo_gallery_cols]==0 )) {
echo "</tr><tr>";
}
$file_path = "$g4[path]/data/file/$bo_table";
$filename = $list[$i]['file'][0]['file'];
$file = $file_path. "/". $filename;
$size = get_size($file, $max);
$gwidth = $size[w] + 8;
?>
첨부파일
|
댓글을 작성하시려면 로그인이 필요합니다.
댓글 1개