테스트 사이트 - 개발 중인 베타 버전입니다

에러가 떠요 ㅜ

· 13년 전 · 921 · 1
1260023384_nxywiIX2_01.jpg
신비나라님 자료

위의 스킨을 적용하였는데 아래와 같은 에러가 뜹니다.
빌더는 배추빌더입니다.
Fatal error: Call to undefined function thumbnail() in C:\APM_Setup\htdocs\st\skin\latest\carousel2\latest.skin.php on line 61

원소스
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$g_img_width = 150; //썸네일 가로 크기
$g_img_height = 110; //썸네일 세로 크기

$img_width = 498; //표시할 이미지의 가로사이즈
$img_height = 280; //표시할 이미지의 세로사이즈


//언샾마스트 퀄리티(썸 노이즈바지)
$filter[type] = 99; // 언샵마스크
$filter[arg1] = 100;
$filter[arg2] = 1;
$filter[arg3] = 2;
// 불당썸을 include
//include_once("$g4[path]/lib/thumb.lib.php");
//불당썸---------------------------------------------------------------//

$data_path = $g4[path]."/data/file/$bo_table";
$noimg = $latest_skin_path."/images/noimg.jpg";
?>

<!-- CSS STYLE -->
<link rel="stylesheet" type="text/css" href="<?=$latest_skin_path?>/css/style.css" media="screen" />


<!-- ANIMATE AND EASING LIBRARIES -->
<script type="text/javascript" src="<?=$latest_skin_path?>/services-plugin/js/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="<?=$latest_skin_path?>/services-plugin/js/jquery.cssAnimate.mini.js"></script>

<!-- TOUCH AND MOUSE WHEEL SETTINGS -->
<script type="text/javascript" src="<?=$latest_skin_path?>/services-plugin/js/jquery.touchwipe.min.js"></script>
<script type="text/javascript" src="<?=$latest_skin_path?>/services-plugin/js/jquery.mousewheel.min.js"></script>

<!-- jQuery SERVICES Slider -->
<script type="text/javascript" src="<?=$latest_skin_path?>/services-plugin/js/jquery.themepunch.services.mini.js"></script>





<link rel="stylesheet" type="text/css" href="<?=$latest_skin_path?>/services-plugin/css/settings.css" media="screen" />

<!-- FONT IMPORT -->
<link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700' rel='stylesheet' type='text/css'>

<body>
<div class="example-wrapper">



<div id="services-example-1" class="theme1">
<ul>
<?
for ($i=0; $i<count($list); $i++) {

$file = $list[$i][file][0][path] .'/'. $list[$i][file][0][file];

// 업로드된 파일이 이미지라면
if (preg_match("/\.(jpg|gif|png|bmp)$/i", $file) && file_exists($file)) {
$thumb2 = thumbnail($file, $g_img_width, $g_img_height, 0, 1, 90, 0, "", $filter, $noimg); //첨부파일 언샾마스크추가

} else { //에디터에서 삽입한 이미지
$edit_img = $list[$i]['wr_content'];
if (eregi("data/cheditor4[^<>]*\.(gif|jp[e]?g|png|bmp)", $edit_img, $tmp)) { // data/cheditor------
$file = $g4[path].'/' . $tmp[0]; // 파일명
$thumb2=thumbnail($file, $g_img_width, $g_img_height, 0, 1, 90, 0, "", $filter, $noimg); //언샾마스크추가
}
}

$file = $list[$i][file][0][path] .'/'. $list[$i][file][0][file];

// 업로드된 파일이 이미지라면
if (preg_match("/\.(jpg|gif|png|bmp)$/i", $file) && file_exists($file)) {
$thumb = thumbnail($file, $img_width, $img_height, 0, 1, 90, 0, "", $filter, $noimg); //첨부파일 언샾마스크추가

} else { //에디터에서 삽입한 이미지
$edit_img = $list[$i]['wr_content'];
if (eregi("data/cheditor4[^<>]*\.(gif|jp[e]?g|png|bmp)", $edit_img, $tmp)) { // data/cheditor------
$file = $g4[path].'/' . $tmp[0]; // 파일명
$thumb=thumbnail($file, $img_width, $img_height, 0, 1, 90, 0, "", $filter, $noimg); //언샾마스크추가
}
}

$content = cut_str(strip_tags($list[$i][wr_content]), 80);
$content2 = cut_str(strip_tags($list[$i][wr_content]), 300);
?>

<li>
<img class="thumb" src="<?=$thumb2?>" data-bw="<?=$thumb2?>">
<div style="margin-top:16px"></div>
<h2><?=$list[$i][subject]?></h2>
<p><?=$content?></p>
<a class="buttonlight morebutton" href="#">View More</a>

<!--
***********************************************************************************************************
- HERE YOU CAN DEFINE THE EXTRA PAGE WHICH SHOULD BE SHOWN IN CASE THE "BUTTON" HAS BEED PRESSED -
***********************************************************************************************************
-->
<div class="page-more">
<img class="big-image" width="<?=$img_width?>" height="<?=$img_height?>" src="<?=$thumb?>">
<div class="details_double">
<h2><?=$list[$i][subject]?></h2>
<p><?=$content2?></p>
<a class="buttonlight" href="<?=$list[$i][href]?>">View More</a>
</div>
<div class="closer"></div>
</div>
</li>
<? } ?>
</ul>

<!-- ############### - TOOLBAR (LEFT/RIGHT) BUTTONS - ############### -->
<div class="toolbar">
<div class="left"></div><div class="right"></div>
</div>
</div>

</div>


<script type="text/javascript">

$(document).ready(function() {
$.noConflict();

jQuery('#services-example-1').services(
{
width:920,
height:290,
slideAmount:5,
slideSpacing:30,
touchenabled:"on",
mouseWheel:"on",
hoverAlpha:"off",
slideshow:3000,
hovereffect:"on",
callBack:function() { }

});


});
</script>
</body>

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 1개

썸네일 함수가 없는거 같은데요.

게시글 목록

번호 제목
284438
284437
284435
284430
284420
284417
284409
284401
284399
284397
284380
284378
284371
284370
284366
284364
284360
284357
284355
284354