묻고답하기
탭형 최신게시물 스킨을 다운받아 설치했는데 이미지가 안나와요
2009.10.19 05:52
제로보드를 알게되고 설치해서 겨우 익혀가고 있습니다.
문제는 위젯중에 탭형 최신게시물 스킨을 다운받아 설치했는데 이미지가 안나오네요....
도대체 무엇때문에 그러는지 모르겠습니다.
list.html에는
<!-- 설정된 컬러셋의 종류에 따라서 css파일을 import 합니다 -->
<!--%import("js/tab.js")-->
<!--@if($colorset=="normal"||!$colorset)-->
<!--%import("css/normal.css")-->
<!--@end-->
{@ $_id_prefix = rand(1111111,9999999)}
{@ $_checked = false; }
<div class="tabWidget">
<div class="tabBox">
<!--@foreach($tab_list as $key => $val)-->
<div class="tab <!--@if(!$_checked)-->on{@ $_checked = true;}<!--@end-->" id="tab_{$_id_prefix}_{$key}" onmouseover="overTab(this);"><div><a href="./{getUrl(",'mid',$val->mid)}" title="{htmlspecialchars($val->browser_title)}">{htmlspecialchars($val->browser_title)}</a></div></div>
<!--@end-->
<div class="clear"></div>
</div>
{@ $_checked = false; }
<!--@foreach($tab_list as $key => $val)-->
<div class="tabContent <!--@if(!$_checked)-->show{@ $_checked = true;}<!--@else-->hide<!--@end-->" id="content_{$_id_prefix}_{$key}">
{@ $_thumbnail_checked = false; }
<table cellspacing="0">
<tr>
<!--@foreach($val->document_list as $k => $v)-->
<!--@if(!$_thumbnail_checked && $v->thumbnailExists($widget_info->thumbnail_width, $widget_info->thumbnail_height))-->
<td class="thumbnail" width="{$widget_info->thumbnail_width+12}">
<a href="./{getUrl(",'document_srl',$v->document_srl)}"><img src="./{$v->getThumbnail($widget_info->thumbnail_width,$widget_info->thumbnail_height,$widget_info->thumbnail_type)}" border="0" alt="" /></a>
</td>
{@ $_thumbnail_checked = true; }
<!--@end-->
<!--@end-->
<td class="titleBox">
<!--@foreach($val->document_list as $k => $v)-->
<div class="title">
<!--@if($widget_info->display_regdate == 'Y')-->
<span class="regdate">[{$v->getRegdate("Y-m-d")}]</span>
<!--@end-->
<a href="./{$v->getPermanentUrl()}#{$v->getCommentCount()}">{$v->getTitle($widget_info->subject_cut_size)}</a> {$v->printExtraImages($widget_info->duration_new)}
<!--@if($v->getCommentCount())--><span class="comment_cnt">*{$v->getCommentCount()}</span><!--@end-->
<!--@if($widget_info->display_author == 'Y')-->
<span class="author">by {$v->getNickName()}</span>
<!--@end-->
<!--@if($widget_info->display_readed_count == 'Y' || $widget_info->display_voted_count == 'Y' )-->
<span class="readAndVoted">
(<!--@if($widget_info->display_readed_count == 'Y')--><span class="readed">{$v->get('readed_count')}</span><!--@end--><!--@if($widget_info->display_voted_count == 'Y' && $v->get('voted_count')>0 )--><!--@if($widget_info->display_readed_count == '+
'+
'Y')-->/ <!--@end--><span class="voted">{$v->get('voted_count')}</span><!--@end-->)
</span>
<!--@end-->
</div>
<!--@end-->
</td>
</tr>
</table>
<div class="clear"></div>
</div>
<div class="clear"></div>
<!--@end-->
</div>
이렇게 되어 있고
css에서 Thumbnail부분은
.tabWidget .tabContent .thumbnail { text-align:center; }
.tabWidget .tabContent .thumbnail img {border:1px solid #EEEEEE; padding:5px; float:left; }
이렇게 되었어요.
어디를 어떻게 고쳐야 할까요?
간신히 배워가며 만들고 있는데 위젯이 너무 힘이 드네요.
꼭좀 부탁드립니다.