썸네일에 그림layer올리기 정보
썸네일에 그림layer올리기본문
댓글 전체
thumbnail 을 background 로 하시면 됩니다.

올리실 그림은 background=$img 이런식으로 배경으로 띄어주시고,
아이콘을 이미지태크로 올리시면, 가능하겠네요.
아이콘을 이미지태크로 올리시면, 가능하겠네요.
이런 거의 동시에 두 분이 답을 주셨네요.
아직 해보지 않았지만 그렇게 하면 되겠군요^^
그런데 보통 ucc처럼 반투명 아이콘을 올리는 방법은 따로 있나요?
아직 해보지 않았지만 그렇게 하면 되겠군요^^
그런데 보통 ucc처럼 반투명 아이콘을 올리는 방법은 따로 있나요?

동영상인가요? 흠. 보통 그림위에 아이콘을 올릴땐, transparent 를 적용시키는데,
반투명이라면...... 포토샵이나, 이미지툴에서, transparent값을 50%나 그 밑으로 적용시키셔야
할듯..
반투명이라면...... 포토샵이나, 이미지툴에서, transparent값을 50%나 그 밑으로 적용시키셔야
할듯..
아래처럼 $img를 백그라운드로 돌리고 올릴 이미지를 $img_png로 했더니
이미지만 뜨고 백그라운드는 안나오는군요..
png라 그런가 해서 gif로 다시했는데 마찬가지네요
이런... 실력이 짧아놔서.....
$img_png = "$g4[path]/img/video.gif";
$img = "$g4[path]/data/file/$bo_table/".urlencode($list[$all_cnt][file][0][file]);
if (!file_exists($img) || !$list[$all_cnt][file][0][file])
$img = "$latest_skin_path/img/no_image.gif";
$href = "$g4[bbs_path]/board.php?bo_table=$bo_table";
$stitle = cut_str($list[$all_cnt][subject],$cut_len,"...");
echo <<<HEREDOC
<td width='<?=$subject_len?>' valign='top' align='center'>
<table width='<?=$subject_len?>' border='0' cellpadding='0' cellspacing='0' align='center'>
<tr>
<td width='<?=$subject_len?>' height='5' align='center'></td>
</tr>
<tr>
<td width='<?=$subject_len?>' height='<?=$height?>' align='center' background='<?=$img?>'>
<div style='width:<?=$subject_len?>px;height:<?=$height?>px;border:1px solid #CCCCCC;padding:3px' align='center'>
<a href='$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id={$list[$all_cnt][wr_id]}'><img src='{$img_png}' width='$subject_len' height='$height' border='0' align='absmiddle' title='$title'></a>
이미지만 뜨고 백그라운드는 안나오는군요..
png라 그런가 해서 gif로 다시했는데 마찬가지네요
이런... 실력이 짧아놔서.....
$img_png = "$g4[path]/img/video.gif";
$img = "$g4[path]/data/file/$bo_table/".urlencode($list[$all_cnt][file][0][file]);
if (!file_exists($img) || !$list[$all_cnt][file][0][file])
$img = "$latest_skin_path/img/no_image.gif";
$href = "$g4[bbs_path]/board.php?bo_table=$bo_table";
$stitle = cut_str($list[$all_cnt][subject],$cut_len,"...");
echo <<<HEREDOC
<td width='<?=$subject_len?>' valign='top' align='center'>
<table width='<?=$subject_len?>' border='0' cellpadding='0' cellspacing='0' align='center'>
<tr>
<td width='<?=$subject_len?>' height='5' align='center'></td>
</tr>
<tr>
<td width='<?=$subject_len?>' height='<?=$height?>' align='center' background='<?=$img?>'>
<div style='width:<?=$subject_len?>px;height:<?=$height?>px;border:1px solid #CCCCCC;padding:3px' align='center'>
<a href='$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id={$list[$all_cnt][wr_id]}'><img src='{$img_png}' width='$subject_len' height='$height' border='0' align='absmiddle' title='$title'></a>
아 됐습니다..
그런데 백그라운드라
<img src='{$img_png}' width='$subject_len' height='$height'
사이즈 조정이 안되니 문제가 있군요....
이걸 해결할 방법은 없을까요
그런데 백그라운드라
<img src='{$img_png}' width='$subject_len' height='$height'
사이즈 조정이 안되니 문제가 있군요....
이걸 해결할 방법은 없을까요

<div style='positon:fixed;width:<?=$subject_len?>px;height:<?=$height?>px;'>
<div style='width:<?=$subject_len?>px;height:<?=$height?>px;border:1px solid #CCCCCC;padding:3px' align='center'>
<a href='$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id={$list[$all_cnt][wr_id]}'><img src='{$img_png}' width='$subject_len' height='$height' border='0' align='absmiddle' title='$title'></a><div>
<div>로 한번 더 감싸면서 스타일에 여러 시도를 해보세요^^
position:absolute...등등
<div style='width:<?=$subject_len?>px;height:<?=$height?>px;border:1px solid #CCCCCC;padding:3px' align='center'>
<a href='$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id={$list[$all_cnt][wr_id]}'><img src='{$img_png}' width='$subject_len' height='$height' border='0' align='absmiddle' title='$title'></a><div>
<div>로 한번 더 감싸면서 스타일에 여러 시도를 해보세요^^
position:absolute...등등
