묻고답하기

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

기본값으로는 '입력된숫자'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 남기남
미미미2 쪽지 알림을 받고 읽으러갈때 mid값 같은 것을 임의로 바꿀 수 있을까요? [2] 2016.07.22 by 미미미2
도메인8295 컨텐츠위젯 기본스킨에서 갤러리형 썸네일 가로크기 %로 설정 [2] 2016.07.22 by 도메인8295
odi+good 카페24 에서 cloudflare 사용하는 방법좀 알려주세요 [1] 2016.07.24 by odi+good
꿈틀잉 페이지 이동시 글자가 커졋다 줄어들어여... [1] 2016.07.22 by DoorWeb
몽니 메인페이지 내용직접추가 html 적용방법좀 알려주세요 [2] file 2016.07.22 by DoorWeb
Clare 갑자기 500 에러 [1] file 2016.07.22 by DoorWeb
챔피온 css가 안떠요 로고 크기 조절하려고 합니다. [1] 2016.07.22 by DoorWeb
홈런볼11 본문 삽입할 이미지 전체 선택 [2] 2016.07.22 by 홈런볼11
롤롤롤롤 외부파일을 썸네일로 되는데 이 글의 링크를 공유하면 썸네일이 나오지 않습니다.  
redclip**** login 문제 도움이 필요합니다. [1] file 2016.07.23 by redclip****
용초딩 추천/비추천 노출 애드온 테두리가 두줄로 겹쳐서 나오는데 [1] file 2016.07.23 by DoorWeb
쮸야282 맛집 사이트중 사진이 한곳에 모이게 하는건 어떻하죠? file  
00lsk00 제로 보드 사용 [4] 2016.07.23 by 기진곰
초보자 한 서버에서 2개 사이트 운영코자 합니다. [2] 2016.07.23 by 김종화
김종화 메인배너 좌우버튼이 안되요..;;  
양이 파비콘 적용이 안됩니다. [2] file 2016.07.23 by 양이
양이 권한 메세지 대신 로그인페이지 나오게.. [4] file 2016.07.23 by 양이
신희 네비게이션에 특정 부분만 색을 다르게 할 수 있을까요?? [6] 2016.07.23 by 신희
초보자 웹호스팅을 이용 1개 사이트를 운영하고 있으나 1개 더 운영하고자 합니다. [1] 2016.07.24 by gnurails
크루미 덧글단 회원에게만 확장변수 공개 질문 입니다. [2] 2016.07.24 by 크루미
gnurails 비밀번호가 틀렸을 시 알림창 띄우는 방법 [2] 2016.07.24 by gnurails
제자4a6a3 한계정의 웹호스팅에 2 XE 설치했을때의 질문(홈페이지로 사용하기) [1] 2016.07.25 by 제자4a6a3
kos720 제로보드 소스오류 문의 드립니다.. [1] 2016.07.25 by YJSoft
나경아빠 게시판에 게시글이 생기면 관리자메일로 메일이 안오는 이유 [1] 2016.07.25 by sejin7940
starship 특정 게시판 풋터 지우기 [3] 2016.07.25 by starship
starship 이런 방식을 적용하려면 어떻게 해야 하나요? [2] 2016.07.25 by starship
몬수니 설치에러 문의드립니다. [2] 2016.07.25 by 몬수니
도도리 [왕초보] 모바일에서 메뉴를 클릭하면 메인화면으로 돌아갑니다 [3] 2016.07.25 by 멍멍
비올라 레이아웃 복구 [1] 2016.07.25 by 디트리히A
민돌이95 검색결과 링크 오류 문의 드립니다. [1] 2016.07.25 by 디트리히A