까만 도둑님....그저그런갤러리V2 버전..gbview.skin.php에서.. 정보
그누보드 까만 도둑님....그저그런갤러리V2 버전..gbview.skin.php에서..본문
<?
for ($i=1; $i<=$cfg[file_count]; $i++) {
if ($file[$i][view]) { echo $file[$i][view]; }
}
?>
</div>
<!-- 내용 출력 -->
<span id=ct class=content><?=$content?></span>
<?
$td_width = (int)(100 / $file_mod);
echo "<table width=100%>";
echo "<tr>";
$sql = " select * from $file_table
where wr_id = '$wr_id'
order by wf_id ";
$result = sql_query($sql);
for ($i=0; $row=mysql_fetch_array($result); $i++)
{
if ($i%$file_mod==0 && $i)
echo "</tr><tr>";
$file_name = get_thumb_filename($wr_id, $row[wf_id]);
$file = "./data/file/$bo_table/{$file_name}_s.jpg";
if (file_exists($file))
{
$large = "./data/file/$bo_table/{$file_name}.jpg";
$size = getimagesize($large);
$image = "<a href=\"javascript:;\" onclick=\"center_window('$large', $size[0], $size[1]);\"><img src='$file' border=0></a>"; <-----이부분을 가운데 이미지로 옮겨져서 보여지게 하는 방법?
} else{}
echo "
<td width='$td_width%' valign=top>
<table width=150>
<tr><td width='150' align=center>$image</td>
</tr>
</table>
</td>
";
}
echo "</tr>";
echo "</table>";
?>
소스를 아주 약간 수정했는데요....작은 이미지를 클릭하면 원본이미지가 보이는게 아니라...
가운데로 첫 이미지가 위치한 곳으로 보여지게 할수 없나요....
for ($i=1; $i<=$cfg[file_count]; $i++) {
if ($file[$i][view]) { echo $file[$i][view]; }
}
?>
</div>
<!-- 내용 출력 -->
<span id=ct class=content><?=$content?></span>
<?
$td_width = (int)(100 / $file_mod);
echo "<table width=100%>";
echo "<tr>";
$sql = " select * from $file_table
where wr_id = '$wr_id'
order by wf_id ";
$result = sql_query($sql);
for ($i=0; $row=mysql_fetch_array($result); $i++)
{
if ($i%$file_mod==0 && $i)
echo "</tr><tr>";
$file_name = get_thumb_filename($wr_id, $row[wf_id]);
$file = "./data/file/$bo_table/{$file_name}_s.jpg";
if (file_exists($file))
{
$large = "./data/file/$bo_table/{$file_name}.jpg";
$size = getimagesize($large);
$image = "<a href=\"javascript:;\" onclick=\"center_window('$large', $size[0], $size[1]);\"><img src='$file' border=0></a>"; <-----이부분을 가운데 이미지로 옮겨져서 보여지게 하는 방법?
} else{}
echo "
<td width='$td_width%' valign=top>
<table width=150>
<tr><td width='150' align=center>$image</td>
</tr>
</table>
</td>
";
}
echo "</tr>";
echo "</table>";
?>
소스를 아주 약간 수정했는데요....작은 이미지를 클릭하면 원본이미지가 보이는게 아니라...
가운데로 첫 이미지가 위치한 곳으로 보여지게 할수 없나요....
댓글 전체
예,,,맞습니다...바로 이기능이예요...^^
제 홈에 글 남겨주세요....
제가 잘 이해를 못하겠네요....
링크의 큰이미지보기를 말씀하시는 것 같은데요
http://www.imt2000plaza.com/bbs/?doc=bbs/gnuboard.php&bo_table=sales&page=1&wr_id=7
제가 잘 이해를 못하겠네요....
링크의 큰이미지보기를 말씀하시는 것 같은데요
http://www.imt2000plaza.com/bbs/?doc=bbs/gnuboard.php&bo_table=sales&page=1&wr_id=7