묻고답하기

컨텐츠 위젯의 기본스킨에서 갤러리형 출력방식을 사용할 때 썸네일의 가로 크기를 %로 설정하고 싶습니다.

기본값으로는 '입력된숫자'px로 가로 크기가 출력되는데요. gallery.html 파일을 열어 px값을 %로 바꿔보려해도 쉽지 않네요..

도와주실 분 계신가요?

 

 

gallery.html

 

<ul class="widgetGalleryA" style="width:{$widget_info->cols_list_count*($widget_info->thumbnail_width+28)}px;">
{@$_idx=0}
    <!--@foreach($widget_info->content_items as $key => $item)-->
    <li<!--@if($_idx>0 && $_idx % $widget_info->cols_list_count==0)--> class="clearLeft"<!--@end--> style="<!--@if($_idx >= $widget_info->list_count)-->display:none;<!--@end-->width:{$widget_info->thumbnail_width}px;">
        <!--@foreach($widget_info->option_view_arr as $k => $v)-->
            <!--@if($v=='thumbnail')-->
                <a href="{$item->getLink()}" class="thumb" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px" target="_blank"|cond="$widget_info->new_window">
                    <!--@if($item->getThumbnail())-->
                        <img src="{$item->getThumbnail()}" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px"/>
                    <!--@else-->
                        <span class="imgNone">{$lang->none_image}</span>
                    <!--@end-->
                <!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
                    <strong class="board">{$item->getBrowserTitle()}</strong>
                <!--@end-->
                <!--@if($widget_info->show_category=='Y' && $item->getCategory())-->
                    <strong class="category">{$item->getCategory()}</strong>
                <!--@end-->
                </a>

            <!--@else if($v=='title')-->
                <a href="{$item->getLink()}" class="title" target="_blank"|cond="$widget_info->new_window">{$item->getTitle($widget_info->subject_cut_size)}</a>
                <!--@if($widget_info->show_comment_count=='Y' && $item->getCommentCount())-->
                    <em class="replyNum" title="Replies"><a href="{$item->getLink()}#comment">{$item->getCommentCount()}</a></em>
                <!--@end-->

                <!--@if($widget_info->show_trackback_count=='Y' && $item->getTrackbackCount())-->
                    <em class="trackbackNum" title="Trackbacks"><a href="{$item->getLink()}#trackback">{$item->getTrackbackCount()}</a></em>
                <!--@end-->

                <!--@if($widget_info->show_icon=='Y')-->
                    <span class="icon">{$item->printExtraImages()}</span>
                <!--@end-->

        <!--@else if($v=='nickname')-->
            <a href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}">{$item->getNickName($widget_info->nickname_cut_size)}</a>
        <!--@else if($v=='regdate')-->
            <span class="date">{$item->getRegdate("Y-m-d")}</span> <span class="hour">{$item->getRegdate("H:i")}</span>
        <!--@end-->
    <!--@end-->
    </li>
    {@$_idx++}
    <!--@end-->
</ul>

<!--@if($widget_info->page_count > 1 && $widget_info->list_count<$_idx)-->
<ul class="widgetNavigator">
    <li><button type="button" class="prev" title="{$lang->cmd_prev}" onclick="content_widget_prev(jQuery(this).parents('ul.widgetNavigator').prev('ul.widgetGalleryA'),{$widget_info->list_count})"><span>{$lang->cmd_prev}</span></button></li>
    <li><button type="button" class="next" title="{$lang->cmd_next}" onclick="content_widget_next(jQuery(this).parents('ul.widgetNavigator').prev('ul.widgetGalleryA'),{$widget_info->list_count})"><span>{$lang->cmd_next}</span></button></li>
</ul>
<!--@end-->

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
김다니엘 상단 네비 링크 수정에 관한 질문입니다. [1] file 2016.09.28 by EISOFT
greengables 스케치북 방명록 게시판 스킨 수정 관련 질문 드립니다. [4] file 2016.09.28 by greengables
TickTick XE 게시판에 이미지 복붙 방법 [1] 2016.09.28 by sejin7940
신성3014 XE 통째로 백업받아서 새 호스팅에 옮기려는데 404에러만 나오네요ㅠ [1] 2016.09.28 by sejin7940
스카이디자인 제이쿼리에 관하여 문의드립니다. 어떻게 해도 않되네요 ㅜ.ㅠ; [1] file 2016.09.28 by 기진곰
곰탱이vv xe 파일 업로드 방식이 궁금합니다. [2] 2016.09.28 by 곰탱이vv
탱고b0580 게시판 표 노출이 안됩니다!! [3] 2016.09.28 by sejin7940
정혜림 실수로 메뉴를 삭제했습니다.. [1] 2016.09.28 by sejin7940
plusnet21 공유기 교체후 404 에러가 뜹니다. [4] file 2016.09.28 by plusnet21
크앙 스크랩한 제목 수정 안되나요? [1] 2016.09.28 by sejin7940
스마트류 [긴급] 스케치북5에서 이미지에 링크를 걸면...a태그가 사라져버리는 현상 [2] 2016.09.28 by 스마트류
z*** 로그인 물제때문에 db디지는중~ 살려주삼 [2] 2016.09.27 by sejin7940
mohsek**** 홈페이지 관리자 아이디 비밀번호를 잊어버렸습니다. [2] 2016.09.27 by sejin7940
집귀신 xe에서 중복로그인 가능하게 하는 방법? [1] 2016.09.27 by Kin
zzoong2 상단의 이미지 변경은 어떻게해야하는지 궁금합니다. [5] file 2016.09.27 by Kin
플라이나 셀렉트 메뉴 2차메뉴도 보이게 하려면? [1] 2016.09.27 by Kin
wonjun 다국어 나라별 페이지 링크 ip [1] 2016.09.27 by Kin
웨딩진진 xe 코어 업데이트 하려고 하는데 오류창이 뜹니다.. [2] file 2016.09.27 by Kin
김환국 포탈에버꺼 홈피 위에 여백 삭제 [2] file 2016.09.27 by 김환국
키케로로 문제내고 맞추는 사이트를 만들고 싶은데 XE로 가능한가요 ? [1] 2016.09.27 by Kin
박세연 게시판 주소를 모르겠습니다.. [3] 2016.09.27 by Kin
반짝반짝 포인트 복구와 관련하여 문의드립니다.  
Marseille XE는 아니지만.. Apache 디렉토리 접근 관련 질문 드려봅니다  
kkoong 제로보드4에서 XE로 자료옮기려하는데 설명 링크라 안열려요  
탱고b0580 메인페이지 게시판 글 등록 문의 [2] 2016.09.26 by 탱고b0580
탱고b0580 XE 초보입니다 ㅜㅜ 답변좀 부탁드립니다 [3] 2016.09.26 by Kin
골똘 이 php 코드를 xe 문법으로 변환하려면 어떻게 하나요 [1] 2016.09.26 by Ikoo
마사요시김 위젯 HTML TAG에 클래스 추가문의드립니다.  
TAEYONG2 게시판 글씨 크기 및 효과 [9] file 2016.09.26 by pmacsoft
보고 Elkha - Point Ranking 위젯 설치 관련 [6] 2016.09.26 by 보고