썸네일 크기변경이 안됩니다ㅠㅠ 도움부탁드려요

썸네일 크기변경이 안됩니다ㅠㅠ 도움부탁드려요

QA

썸네일 크기변경이 안됩니다ㅠㅠ 도움부탁드려요

본문

3537669777_1713769513.2043.png

 

 

가로로 좀더 넓히고싶습니다!!

index 페이지에서 썸네일 크기 아무리건드려봐도 반응이없구요....

<section class="tl_main_gallery_wrap">
    <div class="inner clearfix">
        <?php
        $bo_table = 'tl_gallery';
        $rows = 30;
        $subject_len = 20;
        $cache_time = 1;
                $options = array(                 
                  'thumb_width'=>400,
          'thumb_height'=>0,
          'content_len'=>6,

 

latest_skin 에서도 건드려도 크기엔 아무반응이없습니다. 머가문제일까요?

 

<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once(G5_LIB_PATH.'/thumbnail.lib.php');

// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.$latest_skin_url.'/style.css">', 0);


$thumb_width = is_numeric($options['thumb_width']) ? $options['thumb_width'] : 200;
$thumb_height = 0;
$title =  $options['title'] ? $options['title'] : $bo_subject;
$content_len = is_numeric($options['content_len']) ? $options['content_len'] : 100; 
?>

<div class="inner clearfix">
  <h2 class="lat_title">
    <?php echo $title ?>
    <span><?php echo $options['sub_title'] ?></span>
  </h2>
  <ul>
  <?php
shuffle($list);
  for ($i=0; $i<count($list); $i++) {
    $thumb = get_list_thumbnail($bo_table, $list[$i]['wr_id'], $thumb_width, $thumb_height, false, true);
    if($thumb['src']) {
      $img = $thumb['src'];
    } else {
      $img = $latest_skin_url.'/no_img.png';
    }
    //$img_content = '<img src="'.$img.'" alt="'.$thumb['alt'].'">';
    $bg_style = "background-image:url(".$img.");";
    ?>
    <li class="aos-init aos-animate" data-aos-delay="0">
      <a href="<?php echo $list[$i]['href'] ?>" class="one_box">
        <div style="overflow:hidden; width:70%">
        <div class="photo" title="<?php echo get_text($thumb['alt']); ?>" style="<?php echo $bg_style ?>"></div>
        </div>
        <dl>
          <dt>
            <?php 
            if ($list[$i]['is_notice'])
              echo "<strong>".$list[$i]['subject']."</strong>";
            else
              echo $list[$i]['subject']; ?>
          </dt>
          <dd> <?php 
          echo get_text(cut_str(strip_tags(str_replace(' ', ' ', $list[$i]['wr_content'])), $content_len,'…')); 
          ?></dd>
        </dl>
      </a>
    </li>
    <?php }  ?>
    <?php if (count($list) == 0) { //게시물이 없을 때  ?>
    <li class="empty_li">게시물이 없습니다.</li>
    <?php }  ?>
  </ul>
</div>

 

 


 

 

 

이 질문에 댓글 쓰기 :

답변 3

lastest 스킨의 style.css 를 수정해야 합니다.

 

왜 사람들은 CSS 관련 질문할때 엉뚱한곳의 소스를 첨부하고

URL 을 오픈하지 않는걸까요??

답변을 작성하시기 전에 로그인 해주세요.
전체 123,960 | RSS
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT