이것도 노이미지 처리가 가능할까요? 2틀째고생~ㅜㅜ 정보
이것도 노이미지 처리가 가능할까요? 2틀째고생~ㅜㅜ관련링크
본문
자동차스킨에서 이미지를 누르면 슬라이드 창이 별도로 뜨는데 거기서 이미지를 넣지 않은 부분은 엑박이 뜨네요~~ 노이미지 처리 하면 좋을텐데 여러번 시도를 해봤는데 잘 모르겠습니다.ㅜㅜ
창피하지만 링크 걸어 보겠습니다.
<?
$g4_path = "../../../";
include_once("$g4_path/common.php");
include_once("$board_skin_path/config.php");
// 파일 출력
$sql = "select * from $g4[board_file_table] where `bo_table`='$bo_table' and `wr_id`='$wr_id'";
$result=mysql_query($sql);
for($i=0 ; $row = mysql_fetch_array($result) ; $i++){
$img[$i]="$g4[path]/data/file/$bo_table/$row[bf_file]";
}
?>
<script language="JavaScript">
<!--
function transimg(place) {
if (place==1) dare.src="<?=$img[0]?>";
if (place==2) dare.src="<?=$img[1]?>";
if (place==3) dare.src="<?=$img[2]?>";이미지없을때
if (place==4) dare.src="<?=$img[3]?>";
if (place==5) dare.src="<?=$img[4]?>";
if (place==6) dare.src="<?=$img[5]?>";
if (place==7) dare.src="<?=$img[6]?>";
if (place==8) dare.src="<?=$img[7]?>";
if (place==9) dare.src="<?=$img[8]?>";
if (place==10) dare.src="<?=$img[9]?>";
}
// -->
</script>
<b>[상품 이미지 상세보기]</b>
<table cellpadding="0" cellspacing="0" width="851" height="498">
<tr>
<td width="650" 547">
<table cellpadding="0" cellspacing="0" width="650" height="498">
<tr>
<td width="10" height="10">
</td>
<td width="640" height="10">
</td>
</tr>
<tr>
<td width="10">
<p> </p>
</td>
<td width="640">
<img src="<?=$img[0]?>" width="640" height="480" style='border:1 solid #cccccc;' name=dare>
</td>
</tr>
</table>
</td>
<td width="1"> </td>
<td width="200" height=498 valign=top>
<table cellpadding="0" cellspacing="0" width="200">
<tr>
<td width="9" height="10">
</td>
<td width="191" height="10">
</td>
</tr>
<tr>
<td width="9" height="409">
<p> </p>
</td>
<td width="191" height="409" valign=top>
<table cellpadding="0" cellspacing="0" width="190">
<tr>
<td width="90" height="90"><span style="cursor:hand" onMouseOver="transimg(1)"><img src="<?=$img[0]?>" width="90" height="70" style='border:1 solid #cccccc;'></span></td>
<td width="8" height="90"> </td>
<td width="92" height="90"><span style="cursor:hand" onMouseOver="transimg(2)"><img src="<?=$img[1]?>" width="90" height="70" style='border:1 solid #cccccc;'></span></td>
</tr>
<tr>
<td width="90" height="8"></td>
<td width="8" height="8"></td>
<td width="92" height="8"></td>
</tr>
<tr>
<td width="90" height="90"><span style="cursor:hand" onMouseOver="transimg(3)"><img src="<?=$img[2]?>" width="90" height="70" style='border:1 solid #cccccc;'></span></td>
<td width="8" height="90"> </td>
<td width="92" height="90"><span style="cursor:hand" onMouseOver="transimg(4)"><img src="<?=$img[3]?>" width="90" height="70" style='border:1 solid #cccccc;'></span></td>
</tr>
<tr>
<td width="90" height="8"></td>
<td width="8" height="8"></td>
<td width="92" height="8"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="850" cellpadding="0" cellspacing="0">
<tr>
<td width="850" valign="middle" align="center" height="30"><a href="javascript:window.close()" onfocus=blur()><img src="<?=$board_skin_path?>/img/close.jpg" border="0"></a></td>
</tr>
</table>