(FOR문?)사진여러개 올릴때 처음 나오는 기본 이미지 순서지정하는 방법 문의드려요. 정보
(FOR문?)사진여러개 올릴때 처음 나오는 기본 이미지 순서지정하는 방법 문의드려요.첨부파일
본문
http://ar-studio.co.kr/
사진 게시판에 이미지를 1,2,3 순서대로 올렸습니다.
첫화면 왼쪽첫번째 숫자1이 썸네일로 나와요. 그런뒤 해당 사진을 클릭해서 VIEW페이지가면
큰 사진이 기본으로 3숫자가 나옵니다.
요거 큰 이미지 나오는 기본값을 이미지1이 나올수 있도록 어찌수정해야할까요??
썸네일 순서나 이런건 무관하고 view페이지 처음 크게 나오는 이미지기본값만요~
VIEW페이지 소스 및 파일(첨부함) 올려드리니 한번 봐주실수 있는분 계시면
감사하겠습니다. ㅠㅠ
======================
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$view_line = 680; //테이블에서 270 뺀 값
$view_line2 = 670; //$view_line에서 12 뺀 값
$view_line3 = 650; //$view_line2에서 110 뺀 값
$view_td = 962; //테이블 30 뺀 값
$mb = get_member($view[mb_id]);
$mb_info = $mb[mb_hp];
if ($mb[mb_hp]) {
$mb_info = $mb[mb_hp];
}
else if ($mb[mb_tel]) {
$mb_info = $mb[mb_tel];
} else {
$mb_info = "연락처가 없습니다.";
}
include_once("$board_skin_path/lib/mein.lib.resize.php");
include_once("$board_skin_path/lib/mein.lib.view.skin.php");
include_once("$board_skin_path/set/set.load.php");
$set = mein_set_view($mein[view_set]);
//불당 리사이즈 사용옵션
if($set[view_resize_content]) $mein[view_resize] = $set[view_resize_content];
//글옵션
$wr_post = mein_array_write($view[wr_10]);
?>
<link rel="stylesheet" href="<?=$board_skin_path?>/css/style.css" type="text/css" charset="UTF-8" media="all" />
<link rel='stylesheet' type='text/css' href='<?=$board_skin_path?>/board_style.css'>
<!-- 게시글 보기 시작 -->
<table width="<?=$width?>" align="center" cellpadding="0" cellspcing="0" style="margin-left:5px;"><tr><td>
<!-- 링크 버튼 -->
<?
ob_start();
?>
<table width='100%' cellpadding=0 cellspacing=0 >
<tr height=80>
<td width=100% align=right>
<? if ($search_href) { echo "<a href=\"$search_href\"><img src='$board_skin_path/img/search_list.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($write_href) { echo "<a href=\"$write_href\"><img src='$board_skin_path/img/write.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($reply_href) { echo "<a href=\"$reply_href\"><img src='$board_skin_path/img/reply.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($update_href) { echo "<a href=\"$update_href\"><img src='$board_skin_path/img/modify.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($delete_href) { echo "<a href=\"$delete_href\"><img src='$board_skin_path/img/delete.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($good_href) { echo "<a href=\"$good_href\" target='hiddenframe'><img src='$board_skin_path/img/good.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($nogood_href) { echo "<a href=\"$nogood_href\" target='hiddenframe'><img src='$board_skin_path/img/nogood.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($scrap_href) { echo "<a href=\"javascript:;\" onclick=\"win_scrap('./scrap_popin.php?bo_table=$bo_table&wr_id=$wr_id');\"><img src='$board_skin_path/img/scrap.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($copy_href) { echo "<a href=\"$copy_href\"><img src='$board_skin_path/img/copy.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($move_href) { echo "<a href=\"$move_href\"><img src='$board_skin_path/img/move.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($prev_href) { echo "<a href=\"$prev_href\" title=\"$prev_wr_subject\"><img src='$board_skin_path/img/prev.gif' border='0' align='absmiddle'></a> "; } ?><? if ($next_href) { echo "<a href=\"$next_href\" title=\"$next_wr_subject\"><img src='$board_skin_path/img/next.gif' border='0' align='absmiddle'></a> "; } ?><? echo "<a href='http://ar-studio.co.kr/' target='_top'><img src='$board_skin_path/img/list.gif' border='0' align='absmiddle'></a> "; ?>
</td>
</tr>
</table>
<?
$link_buttons = ob_get_contents();
ob_end_clean();
?>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="700" align="center">
<SCRIPT LANGUAGE='JavaScript'>
// 이미지뷰어
<!--
var win= null;
function View_Open(img, w, h)
{
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/3;
var settings ='height='+h+',';
settings +='width='+w+',';
settings +='top='+wint+',';
settings +='left='+winl+',';
settings +='scrollbars=yes,';
settings +='resizable=yes,';
settings +='status=no';
win=window.open("","newWindow",settings);
win.document.open();
win.document.write ("<html><head><title>원본 이미지 보기</title></head>");
win.document.write ("<script>function init(){window.resizeBy(document.all.pop_img.width-document.body.clientWidth, document.all.pop_img.height-document.body.clientHeight+10);}</script>");
win.document.write ("<body bgcolor=white topmargin=0 marginheight=0 oncontextmenu='return false' ondragstart='return false' onkeydown='return false' onselectstart='return false' onload='init();'>");
win.document.write ("<img src='"+img+"' border=0 onclick='window.close();' style='cursor:hand' title='닫기' id='pop_img'>");
win.document.write ("</body></html>");
win.document.close();
}
//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!--
image_directory = ""; //배경이미지 경로
clear = new Image(); clear.src = image_directory + "./img/blank.gif";
<?
//파일 뽑기
$sql2 = " select bf_file from $g4[board_file_table] where bo_table = '$bo_table' and wr_id = '$wr_id' order by bf_no limit 0, 10 ";
$result2 = sql_query($sql2);
for ($j=0; $row2 = sql_fetch_array($result2); $j++) {
$view_one = "{$g4['path']}/data/file/{$bo_table}/{$row2['bf_file']}";
?>
view_img<?=$j?> = new Image();
view_img<?=$j?>.src = "<?=$g4['path']?>/data/file/<?=$bo_table?>/<?=$row2['bf_file']?>";
<? } ?>
function bgChange(imgName) {
document.all.view_img.src = eval(imgName + ".src");
}
// -->
</SCRIPT>
<table width=100% cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td >
<table id="Table_01" width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td colspan="2">
<img src="<?=$board_skin_path?>/img/product_01.gif" width="250" height="12" alt=""></td>
</tr>
<tr>
<td colspan="2">
<p align="left"><b><font color="#669900"><span style="font-size:9pt;"><?php echo($view[subject]); ?></span></font></b><span style="font-size:8pt;"><font color="#666666"></font></span></p>
</td>
</tr>
<tr>
<td colspan="2">
<img src="<?=$board_skin_path?>/img/product_04.gif" width="250" height="4" alt=""></td>
</tr>
<tr>
<td colspan="2">
<img src="<?=$board_skin_path?>/img/product_07.gif" width="250" height="4" alt=""></td>
</tr>
</table>
</td>
</tr>
<? if($view[wr_7] == "") { ?>
<tr>
<td> <div style='width:962px; position:relative; overflow:hidden;' align=left><img src="<?=$view_one?>" name="view_img" border="0" style="border-color:#161616;max-width:962px;height:auto;"></div>
<!--<a href="javascript:void(0);" onClick="View_Open('<?=$view_one?>')"> 요거를 위에 이미지에 걸었는데 첫업로드 이미지만 뜨니 의미없어서 썸네일 클릭으로 유도함.-->
</td>
</tr>
<tr><td height="10"></td></tr>
<tr><td>
<?
//파일 뽑기
$sql = " select bf_file from $g4[board_file_table] where bo_table = '$bo_table' and wr_id = '$wr_id' order by bf_no limit 0, 10 ";
$result = sql_query($sql);
for ($i=0; $row = sql_fetch_array($result); $i++) {
//썸네일 코드 시작
$data_path = $g4['path'] . "/data/file/{$bo_table}";//라이브러리 파일 참조
$thumb_path = $data_path . '/thumbOpen';
$view_w = 90; //썸네일 가로사이즈
$view_h = 70; //썸네일 세로사이즈
$sch_q = 100; //썸네일 퀼리티
if (!is_dir($thumb_path)) {
@mkdir($thumb_path, 0707);
@chmod($thumb_path, 0707);
}
$filename = $row[bf_file]; //파일명
$thumb = $thumb_path.'/'.$filename; //썸네일
if (!file_exists($thumb))
{
$file = $data_path.'/'.$filename; //원본
if (preg_match("/\.(jp[e]?g|gif|png)$/i", $file) && file_exists($file))
{
$size = getimagesize($file);
if ($size[2] == 1)
$src = imagecreatefromgif($file);
else if ($size[2] == 2)
$src = imagecreatefromjpeg($file);
else if ($size[2] == 3)
$src = imagecreatefrompng($file);
else
continue;
$rate = $view_w / $size[0];
$height = (int)($size[1] * $rate);
if ($height < $view_h)
$dst = imagecreatetruecolor($view_w, $height);
else
$dst = imagecreatetruecolor($view_w, $view_h);
imagecopyresampled($dst, $src, 0, 0, 0, 0, $view_w, $height, $size[0], $size[1]);
imagejpeg($dst, $thumb_path.'/'.$filename, $sch_q);
chmod($thumb_path.'/'.$filename, 0707);
}
}
if (file_exists($thumb) && $filename) {
?>
<a href="javascript:void(0);" onClick="bgChange('view_img<?=$i?>');" ><img src='<?=$thumb?>' border=1 width=90 height=70 style="border-color:#d5d5d5;"></a> <?
//onMouseOut="bgChange('clear');"
}
}
?>
</td></tr>
<? } ?>
<? if($view[wr_7] == "1") { ?>
<tr><td>
<!-- 내용 출력 -->
<div class='content'>
<?php if($wr_post[img_location] == "insert") $view[content] = $view[rich_content];
echo mein_view_contents("", "", $view[wr_6], $wr_post, (int)$board[bo_image_width], "", $view[wr_2], $mein[view_code]); ?>
</div><!-- .content -->
</td></tr>
<? } else { ?>
<tr><td>
<!-- 내용 출력 -->
<div class='content'>
<?php if($wr_post[img_location] == "insert") $view[content] = $view[rich_content];
echo mein_view_contents("", $view[file], $view[wr_6], $wr_post, (int)$board[bo_image_width], "", $view[wr_2], $mein[view_code]); ?>
</div><!-- .content -->
<!--echo mein_view_contents($view[content], $view[file], $view[wr_6], $wr_post, (int)$board[bo_image_width], "", $view[wr_2], $mein[view_code]); ?> 였었음-->
</td></tr>
<? } ?>
</table>
</td>
</td> </tr> </table>
<?=$link_buttons?>
</td></tr></table>
<p><p/>
<table width="962" cellspacing="0" cellpadding="0" style="margin-left:5px;" >
<tr>
<td height="2" colspan="4" bgcolor="#f2f2f2"></td>
</tr>
<tr>
<td height="50" colspan="4" align="right"><p><span style="color:#7f7f7f">Daechi 4-dong, Gangnam, Seoul, Korea / ar-studio@ar-studio.co.kr / Tel *** 개인정보보호를 위한 전화번호 노출방지 *** / Fax *** 개인정보보호를 위한 전화번호 노출방지 ***</span><br />
<span style="font-size:11px; font-family:Arial, Helvetica, sans-serif; color:#c0c0c0;">COPYRIGHT (C) AR-STUDIO. ALL RIGHTS RESERVED. </span></p></td>
</tr>
</table>
<!-- 게시글 보기 끝 -->
사진 게시판에 이미지를 1,2,3 순서대로 올렸습니다.
첫화면 왼쪽첫번째 숫자1이 썸네일로 나와요. 그런뒤 해당 사진을 클릭해서 VIEW페이지가면
큰 사진이 기본으로 3숫자가 나옵니다.
요거 큰 이미지 나오는 기본값을 이미지1이 나올수 있도록 어찌수정해야할까요??
썸네일 순서나 이런건 무관하고 view페이지 처음 크게 나오는 이미지기본값만요~
VIEW페이지 소스 및 파일(첨부함) 올려드리니 한번 봐주실수 있는분 계시면
감사하겠습니다. ㅠㅠ
======================
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$view_line = 680; //테이블에서 270 뺀 값
$view_line2 = 670; //$view_line에서 12 뺀 값
$view_line3 = 650; //$view_line2에서 110 뺀 값
$view_td = 962; //테이블 30 뺀 값
$mb = get_member($view[mb_id]);
$mb_info = $mb[mb_hp];
if ($mb[mb_hp]) {
$mb_info = $mb[mb_hp];
}
else if ($mb[mb_tel]) {
$mb_info = $mb[mb_tel];
} else {
$mb_info = "연락처가 없습니다.";
}
include_once("$board_skin_path/lib/mein.lib.resize.php");
include_once("$board_skin_path/lib/mein.lib.view.skin.php");
include_once("$board_skin_path/set/set.load.php");
$set = mein_set_view($mein[view_set]);
//불당 리사이즈 사용옵션
if($set[view_resize_content]) $mein[view_resize] = $set[view_resize_content];
//글옵션
$wr_post = mein_array_write($view[wr_10]);
?>
<link rel="stylesheet" href="<?=$board_skin_path?>/css/style.css" type="text/css" charset="UTF-8" media="all" />
<link rel='stylesheet' type='text/css' href='<?=$board_skin_path?>/board_style.css'>
<!-- 게시글 보기 시작 -->
<table width="<?=$width?>" align="center" cellpadding="0" cellspcing="0" style="margin-left:5px;"><tr><td>
<!-- 링크 버튼 -->
<?
ob_start();
?>
<table width='100%' cellpadding=0 cellspacing=0 >
<tr height=80>
<td width=100% align=right>
<? if ($search_href) { echo "<a href=\"$search_href\"><img src='$board_skin_path/img/search_list.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($write_href) { echo "<a href=\"$write_href\"><img src='$board_skin_path/img/write.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($reply_href) { echo "<a href=\"$reply_href\"><img src='$board_skin_path/img/reply.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($update_href) { echo "<a href=\"$update_href\"><img src='$board_skin_path/img/modify.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($delete_href) { echo "<a href=\"$delete_href\"><img src='$board_skin_path/img/delete.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($good_href) { echo "<a href=\"$good_href\" target='hiddenframe'><img src='$board_skin_path/img/good.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($nogood_href) { echo "<a href=\"$nogood_href\" target='hiddenframe'><img src='$board_skin_path/img/nogood.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($scrap_href) { echo "<a href=\"javascript:;\" onclick=\"win_scrap('./scrap_popin.php?bo_table=$bo_table&wr_id=$wr_id');\"><img src='$board_skin_path/img/scrap.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($copy_href) { echo "<a href=\"$copy_href\"><img src='$board_skin_path/img/copy.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($move_href) { echo "<a href=\"$move_href\"><img src='$board_skin_path/img/move.gif' border='0' align='absmiddle'></a> "; } ?>
<? if ($prev_href) { echo "<a href=\"$prev_href\" title=\"$prev_wr_subject\"><img src='$board_skin_path/img/prev.gif' border='0' align='absmiddle'></a> "; } ?><? if ($next_href) { echo "<a href=\"$next_href\" title=\"$next_wr_subject\"><img src='$board_skin_path/img/next.gif' border='0' align='absmiddle'></a> "; } ?><? echo "<a href='http://ar-studio.co.kr/' target='_top'><img src='$board_skin_path/img/list.gif' border='0' align='absmiddle'></a> "; ?>
</td>
</tr>
</table>
<?
$link_buttons = ob_get_contents();
ob_end_clean();
?>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="700" align="center">
<SCRIPT LANGUAGE='JavaScript'>
// 이미지뷰어
<!--
var win= null;
function View_Open(img, w, h)
{
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/3;
var settings ='height='+h+',';
settings +='width='+w+',';
settings +='top='+wint+',';
settings +='left='+winl+',';
settings +='scrollbars=yes,';
settings +='resizable=yes,';
settings +='status=no';
win=window.open("","newWindow",settings);
win.document.open();
win.document.write ("<html><head><title>원본 이미지 보기</title></head>");
win.document.write ("<script>function init(){window.resizeBy(document.all.pop_img.width-document.body.clientWidth, document.all.pop_img.height-document.body.clientHeight+10);}</script>");
win.document.write ("<body bgcolor=white topmargin=0 marginheight=0 oncontextmenu='return false' ondragstart='return false' onkeydown='return false' onselectstart='return false' onload='init();'>");
win.document.write ("<img src='"+img+"' border=0 onclick='window.close();' style='cursor:hand' title='닫기' id='pop_img'>");
win.document.write ("</body></html>");
win.document.close();
}
//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!--
image_directory = ""; //배경이미지 경로
clear = new Image(); clear.src = image_directory + "./img/blank.gif";
<?
//파일 뽑기
$sql2 = " select bf_file from $g4[board_file_table] where bo_table = '$bo_table' and wr_id = '$wr_id' order by bf_no limit 0, 10 ";
$result2 = sql_query($sql2);
for ($j=0; $row2 = sql_fetch_array($result2); $j++) {
$view_one = "{$g4['path']}/data/file/{$bo_table}/{$row2['bf_file']}";
?>
view_img<?=$j?> = new Image();
view_img<?=$j?>.src = "<?=$g4['path']?>/data/file/<?=$bo_table?>/<?=$row2['bf_file']?>";
<? } ?>
function bgChange(imgName) {
document.all.view_img.src = eval(imgName + ".src");
}
// -->
</SCRIPT>
<table width=100% cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td >
<table id="Table_01" width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td colspan="2">
<img src="<?=$board_skin_path?>/img/product_01.gif" width="250" height="12" alt=""></td>
</tr>
<tr>
<td colspan="2">
<p align="left"><b><font color="#669900"><span style="font-size:9pt;"><?php echo($view[subject]); ?></span></font></b><span style="font-size:8pt;"><font color="#666666"></font></span></p>
</td>
</tr>
<tr>
<td colspan="2">
<img src="<?=$board_skin_path?>/img/product_04.gif" width="250" height="4" alt=""></td>
</tr>
<tr>
<td colspan="2">
<img src="<?=$board_skin_path?>/img/product_07.gif" width="250" height="4" alt=""></td>
</tr>
</table>
</td>
</tr>
<? if($view[wr_7] == "") { ?>
<tr>
<td> <div style='width:962px; position:relative; overflow:hidden;' align=left><img src="<?=$view_one?>" name="view_img" border="0" style="border-color:#161616;max-width:962px;height:auto;"></div>
<!--<a href="javascript:void(0);" onClick="View_Open('<?=$view_one?>')"> 요거를 위에 이미지에 걸었는데 첫업로드 이미지만 뜨니 의미없어서 썸네일 클릭으로 유도함.-->
</td>
</tr>
<tr><td height="10"></td></tr>
<tr><td>
<?
//파일 뽑기
$sql = " select bf_file from $g4[board_file_table] where bo_table = '$bo_table' and wr_id = '$wr_id' order by bf_no limit 0, 10 ";
$result = sql_query($sql);
for ($i=0; $row = sql_fetch_array($result); $i++) {
//썸네일 코드 시작
$data_path = $g4['path'] . "/data/file/{$bo_table}";//라이브러리 파일 참조
$thumb_path = $data_path . '/thumbOpen';
$view_w = 90; //썸네일 가로사이즈
$view_h = 70; //썸네일 세로사이즈
$sch_q = 100; //썸네일 퀼리티
if (!is_dir($thumb_path)) {
@mkdir($thumb_path, 0707);
@chmod($thumb_path, 0707);
}
$filename = $row[bf_file]; //파일명
$thumb = $thumb_path.'/'.$filename; //썸네일
if (!file_exists($thumb))
{
$file = $data_path.'/'.$filename; //원본
if (preg_match("/\.(jp[e]?g|gif|png)$/i", $file) && file_exists($file))
{
$size = getimagesize($file);
if ($size[2] == 1)
$src = imagecreatefromgif($file);
else if ($size[2] == 2)
$src = imagecreatefromjpeg($file);
else if ($size[2] == 3)
$src = imagecreatefrompng($file);
else
continue;
$rate = $view_w / $size[0];
$height = (int)($size[1] * $rate);
if ($height < $view_h)
$dst = imagecreatetruecolor($view_w, $height);
else
$dst = imagecreatetruecolor($view_w, $view_h);
imagecopyresampled($dst, $src, 0, 0, 0, 0, $view_w, $height, $size[0], $size[1]);
imagejpeg($dst, $thumb_path.'/'.$filename, $sch_q);
chmod($thumb_path.'/'.$filename, 0707);
}
}
if (file_exists($thumb) && $filename) {
?>
<a href="javascript:void(0);" onClick="bgChange('view_img<?=$i?>');" ><img src='<?=$thumb?>' border=1 width=90 height=70 style="border-color:#d5d5d5;"></a> <?
//onMouseOut="bgChange('clear');"
}
}
?>
</td></tr>
<? } ?>
<? if($view[wr_7] == "1") { ?>
<tr><td>
<!-- 내용 출력 -->
<div class='content'>
<?php if($wr_post[img_location] == "insert") $view[content] = $view[rich_content];
echo mein_view_contents("", "", $view[wr_6], $wr_post, (int)$board[bo_image_width], "", $view[wr_2], $mein[view_code]); ?>
</div><!-- .content -->
</td></tr>
<? } else { ?>
<tr><td>
<!-- 내용 출력 -->
<div class='content'>
<?php if($wr_post[img_location] == "insert") $view[content] = $view[rich_content];
echo mein_view_contents("", $view[file], $view[wr_6], $wr_post, (int)$board[bo_image_width], "", $view[wr_2], $mein[view_code]); ?>
</div><!-- .content -->
<!--echo mein_view_contents($view[content], $view[file], $view[wr_6], $wr_post, (int)$board[bo_image_width], "", $view[wr_2], $mein[view_code]); ?> 였었음-->
</td></tr>
<? } ?>
</table>
</td>
</td> </tr> </table>
<?=$link_buttons?>
</td></tr></table>
<p><p/>
<table width="962" cellspacing="0" cellpadding="0" style="margin-left:5px;" >
<tr>
<td height="2" colspan="4" bgcolor="#f2f2f2"></td>
</tr>
<tr>
<td height="50" colspan="4" align="right"><p><span style="color:#7f7f7f">Daechi 4-dong, Gangnam, Seoul, Korea / ar-studio@ar-studio.co.kr / Tel *** 개인정보보호를 위한 전화번호 노출방지 *** / Fax *** 개인정보보호를 위한 전화번호 노출방지 ***</span><br />
<span style="font-size:11px; font-family:Arial, Helvetica, sans-serif; color:#c0c0c0;">COPYRIGHT (C) AR-STUDIO. ALL RIGHTS RESERVED. </span></p></td>
</tr>
</table>
<!-- 게시글 보기 끝 -->
댓글 전체
도와주셈~ ㅠㅠ
$view_one = "{$g4['path']}/data/file/{$bo_table}/{$row2['bf_file']}";
?>
이 부분을
$view_one[$j] = "{$g4['path']}/data/file/{$bo_table}/{$row2['bf_file'][$j]}";
?>
이렇게 하고
<td> <div style='width:962px; position:relative; overflow:hidden;' align=left><img src="<?=$view_one?>" name="view_img" border="0" style="border-color:#161616;max-width:962px;height:auto;"></div>
이 부분의
$view_one을 $view_one[0] 으로 한 번 바꿔보세요.
아닐수도 있습니다.
제가 주로 쓰는 썸네일 코드가 아니라서..ㅠ.ㅠ
?>
이 부분을
$view_one[$j] = "{$g4['path']}/data/file/{$bo_table}/{$row2['bf_file'][$j]}";
?>
이렇게 하고
<td> <div style='width:962px; position:relative; overflow:hidden;' align=left><img src="<?=$view_one?>" name="view_img" border="0" style="border-color:#161616;max-width:962px;height:auto;"></div>
이 부분의
$view_one을 $view_one[0] 으로 한 번 바꿔보세요.
아닐수도 있습니다.
제가 주로 쓰는 썸네일 코드가 아니라서..ㅠ.ㅠ
답변 감사해요~
http://ar-studio.co.kr/bbs/bbs/board.php?bo_table=work&wr_id=49
헌데 첫 이미지가 엑박떠유 ㅠㅠ 좀만 더 봐주세용 ㅠㅠ
http://ar-studio.co.kr/bbs/bbs/board.php?bo_table=work&wr_id=49
헌데 첫 이미지가 엑박떠유 ㅠㅠ 좀만 더 봐주세용 ㅠㅠ
완료되었습니다. ^^
엑박뜨는거 어떻게 해결하셨나요? ㅠ