묻고답하기

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

기본값으로는 '입력된숫자'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 남기남
홍찬 xe 경고메세지 페이지로 보내는 방법 file  
atasis 회원가입 폼에서 설명 추가하는 방법 알고 계시나요? file  
꾸르 xe로만든홈에 글을올리고 싶은데 쓸수없나요? [2] file 2016.08.15 by 윈컴이
꾸르 모바일버전 홈페이지대문사진을 어떻게 바꾸나요? [1] file 2016.08.15 by 윈컴이
댑펑 이게 도대체 무슨 의미인지 아시는분? [2] file 2016.08.15 by 댑펑
기만1988 레이아웃 수정 이 부분은 어디서 조정할 수 있을까요? [3] file 2016.08.15 by 기만1988
초보자 "NAVER 신디케이션 Token"에 어느 것을 적는 것인지요 [1] 2016.08.15 by thdwjdtjr
앤드류문 최근 게시글 위젯에 대하여  
생컨38889 새로운 글/ 댓글에서 문의게시판 글이 안보였으면 합니다. [2] 2016.08.14 by 생컨38889
어도러블 XE 설치 전 index.php 접속불가 [1] 2016.08.14 by 기진곰
치삼 xe를 설치하고나서 트래픽이 초과됩니다.  
완젼초짜 구글링 검색시 홈페이지 이름검색  
미니 위젯스타일에서 게시판 제목 클릭시 바로 게시판 가도록 [5] file 2016.08.13 by 미니
날개 모바일 회원정보에서 포인트 보이게 하는 법 알려주세요 [1] 2016.08.13 by HowtoXE
thdwjdtjr 메인화면에서 외부페이지를 불러오지 못합니다. [4] 2016.08.13 by thdwjdtjr
thdwjdtjr 사이트 이전 후 메인화면이 노출되지 않습니다. [2] 2016.08.13 by thdwjdtjr
아스마 이게 뭔지 아시는분 계실까요? [1] file 2016.08.13 by HowtoXE
유유ㅠㅠ유유 스케치북 모바일 게시판 글쓰기 html오류 [2] file 2016.08.13 by 유유ㅠㅠ유유
라이너스 홈페이지 리뉴얼을 했는데 타이틀과 메뉴가작동이 되질않습니다 [3] 2016.08.13 by DoorWeb
THEOTHERS socialxe에 카카오톡인 기타 SNS 연결 방법있을까요? [2] 2016.08.13 by THEOTHERS
블피 글작성시 본문이미지에 alt 및 title 태그 자동적용...  
94blossom 레이아웃에 나모 html 소스 넣는 법 알려주세요 [6] file 2016.08.12 by 라자루스
완젼초짜 사이트 이름 바꾸기 질문 입니다. file  
BRANDYK 게시판 기본스킨 첨부파일 이미지 [2] 2016.08.12 by BRANDYK
94blossom xe 스킨 간단한 수정 도와주세요 [4] file 2016.08.12 by 94blossom
ACManim 본문 글자수를 제한했는데 남은 글자수를 카운트 하고싶습니다.  
날개 닉네임 삭제 어떻게 하나요? [2] 2016.08.12 by 날개
콩쥐 포인트 초기화 관련 질문이요 ㅠㅠ [2] 2016.08.12 by 콩쥐
갤럭시탭 모바일 스킨 댓글에서 레벨 아이콘 노출 방법  
28IT apmsetup 으로 작업 마치고 웹 호스팅을 하려고 합니다. [1] 2016.08.12 by 불금