묻고답하기

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

기본값으로는 '입력된숫자'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] 2016.10.01 by 김깡
부기 글 쓰기 [2] 2016.10.01 by 김깡
killdnism XEDITION 게시판 스킨, 글쓴이 옆 이미지 경로 아시는분? [1] file 2018.02.17 by killdnism
thdwjdtjr XE 업데이트 후 "553 could not create file" 오류발생 [2] 2016.10.01 by thdwjdtjr
이재환 익명 게시판에 글 작성 시 anonymous로 뜨는 걸 수정했는데요 [2] 2016.09.30 by 이재환
너구리리 script 소스를 스킨파일에 직접 넣어도 될까요? [3] 2016.09.30 by 너구리리
너구리리 whos.amung.us 에 대해 잘 아시는분 계실까요 [4] 2016.09.30 by 너구리리
요아 카페24 서버 이전을 했는데 오류가.. [2] 2016.09.30 by 기진곰
verysery 게시판 노출문의 [1] file 2016.09.30 by sejin7940
xesm 카카오톡으로 콘텐츠 공유하여 전송  
이재환 도와주세요~! 확장 컴포넌트에서 설문조사 눌렀을 때 오류 [3] 2016.09.29 by 이재환
박군d31aa xedition 하위메뉴 배경색 수정 .ㅠㅠ [1] file 2016.09.29 by pmacsoft
ㅊ디 아이콘샵과 특권시스템 모듈 연동 [1] 2016.09.29 by pmacsoft
어려운코팅 모집인원 코딩 소스 좀 부탁드립니다!!!!! [2] 2016.09.29 by SimpleCode
ryuking css 파일을 서버에 게시후 html 파일에서 불러오고 싶습니다. [1] 2016.09.29 by SimpleCode
쿠닌 운영체제 변경 [1] 2016.09.29 by SimpleCode
때린데 또때려 레이아웃 캐시파일 재생성 메뉴 만들기 [6] file 2016.09.29 by 때린데 또때려
웨딩진진 도와주세요~ 레이아웃이 설정이 안됩니다~ [2] 2016.09.29 by 웨딩진진
개골동자 autoset 공유기 외부접속  
심장 반응형 웹 질문! 화면을줄였을때 이미지 변경하는법 ㅜㅜ [1] 2016.09.29 by EISOFT
김다니엘 상단 네비 링크 수정에 관한 질문입니다. [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