フォトギャラリー | 基本機能

フォトギャラリー

「横並び」「縦並び」「タイル」「スライダー」の四種類が設定できます

横並び

  1. <div id="cc-m-xxxxxxxxxx" class="j-module n j-gallery ">
  2.   <div class="cc-m-gallery-container cc-m-gallery-cool clearover" id="cc-m-gallery-xxxxxxxxxx">
  3.     <!--1画像ここから-->
  4.     <div class="cc-m-gallery-cool-item" id="gallery_thumb_xxxxxxxxxx">
  5.       <div>
  6.         <a rel="lightbox[xxxxxxxxxx]" href="javascript:" data-href="https://image.jimcdn.com/app/cms/image/transf/none/path/s5e705a20a1aee6c4/image/xxxxxxxxxxx/version/xxxxxxx/xxxx.png" data-title="" data-index="0"><img src="https://image.jimcdn.com/app/cms/image/transf/none/path/xxxxxxxx/image/xxxxxxx/version/xxxxxxxx/xxxxx.png" data-orig-width="xxx" data-orig-height="xxx" alt="" style="height: xxxpx; width: xxxpx; margin-bottom: 3px; margin-right: 3px;"></a>
  7.       </div>
  8.     </div>
  9.     <!--1画像ここまで-->
  10.     <!--1画像ここから-->
  11.     <div class="cc-m-gallery-cool-item" id="gallery_thumb_xxxxxxxxxx">
  12.       <div>
  13.         <a rel="lightbox[xxxxxxxxxx]" href="javascript:" data-href="https://image.jimcdn.com/app/cms/image/transf/none/path/s5e705a20a1aee6c4/image/xxxxxxxxxxx/version/xxxxxxx/xxxx.png" data-title="" data-index="0"><img src="https://image.jimcdn.com/app/cms/image/transf/none/path/xxxxxxxx/image/xxxxxxx/version/xxxxxxxx/xxxxx.png" data-orig-width="xxx" data-orig-height="xxx" alt="" style="height: xxxpx; width: xxxpx; margin-bottom: 3px; margin-right: 3px;"></a>
  14.       </div>
  15.     </div>
  16.     <!--1画像ここまで-->
  17.   </div>
  18. </div>


縦並び

  1. <div class="cc-m-gallery-container cc-m-gallery-stack clearover" id="cc-m-gallery-xxxxxxxxxx">
  2.   <!--1画像ここから-->
  3.   <div class="cc-m-gallery-stack-column" style="width: 257.333px; margin-right: 3px;">
  4.     <div class="cc-m-gallery-stack-item" id="gallery_thumb_xxxxxxxxxx" data-sort="0" style="margin-bottom: 3px;">
  5.       <a rel="lightbox[xxxxxxxxxx]" href="javascript:" data-href="https://image.jimcdn.com/app/cms/image/transf/none/path/s5e705a20a1aee6c4/image/xxxxxxx/version/xxxxxxxx/xxxx.png" data-title="" data-sort="0" data-index="0"><img src="https://image.jimcdn.com/app/cms/image/transf/none/path/xxxxxxx/image/xxxxxxx/version/xxxxxxx/xxxx.png" data-orig-width="xxx" data-orig-height="xxx" alt="" style="height: xxxpx;"></a>
  6.     </div>
  7.   </div>
  8.   <!--1画像ここまで-->
  9.   <!--1画像ここから-->
  10.   <div class="cc-m-gallery-stack-column" style="width: 257.333px; margin-right: 3px;">
  11.     <div class="cc-m-gallery-stack-item" id="gallery_thumb_xxxxxxxxxx" data-sort="0" style="margin-bottom: 3px;">
  12.       <a rel="lightbox[xxxxxxxxxx]" href="javascript:" data-href="https://image.jimcdn.com/app/cms/image/transf/none/path/s5e705a20a1aee6c4/image/xxxxxxx/version/xxxxxxxx/xxxx.png" data-title="" data-sort="0" data-index="0"><img src="https://image.jimcdn.com/app/cms/image/transf/none/path/xxxxxxx/image/xxxxxxx/version/xxxxxxx/xxxx.png" data-orig-width="xxx" data-orig-height="xxx" alt="" style="height: xxxpx;"></a>
  13.     </div>
  14.   </div>
  15.   <!--1画像ここまで-->
  16.   <div class="cc-m-gallery-stack-column" style="width:xxxpx;"></div>
  17. </div>


タイル

  1. <div id="cc-m-xxxxxxxxxx" class="j-module n j-gallery ">
  2.   <div class="cc-m-gallery-container ccgalerie clearover" id="cc-m-gallery-xxxxxxxxxx">
  3.     <!--1画像ここから-->
  4.     <div class="thumb_sq1" id="gallery_thumb_xxxxxxx" style="width:xxxpx; height:xxxpx;">
  5.       <div>
  6.         <a rel="lightbox[xxxxxxxxxx]" href="javascript:" data-href="https://image.jimcdn.com/app/cms/image/transf/none/path/xxxxxxx/image/xxxxxxx/version/xxxxxxxx/xxxx.png" data-title="" data-index="0"><img src="https://image.jimcdn.com/app/cms/image/transf/dimension=150x150:mode=crop:format=png/path/xxxxxxxx/image/xxxxxxx/version/xxxxxxx/xxxx.png" data-orig-width="xxx" data-orig-height="xxx" alt=""></a>
  7.        </div>
  8.      </div>
  9.      <!--1画像ここまで-->
  10.      <!--1画像ここから-->
  11.      <div class="thumb_sq1" id="gallery_thumb_xxxxxxxx" style="width:xxxpx; height:xxxpx;">
  12.        <div>
  13.          <a rel="lightbox[xxxxxxx]" href="javascript:" data-href="https://image.jimcdn.com/app/cms/image/transf/none/path/xxxxxxx/image/xxxxxxx/version/1634545673/xxxx.png" data-title="" data-index="1"><img src="https://image.jimcdn.com/app/cms/image/transf/dimension=150x150:mode=crop:format=png/path/s5e705a20a1aee6c4/image/xxxxxxx/version/xxxxxxx/xxxx.png" data-orig-width="xxx" data-orig-height="xxx" alt=""></a>
  14.         </div>
  15.      </div>
  16.      <!--1画像ここまで-->
  17.    </div>
  18. </div>


スライダー

  1. <div id="cc-m-xxxxxxxx" class="j-module n j-gallery ">
  2.   <div id="cc-m-gallery-xxxxxxx" class="cc-m-gallery-container cc-m-gallery-slider cc-m-gallery-slider-fullscreen-enabled">
  3.     <div class="bx-wrapper" style="max-width: 100%;">
  4.       <!--大きな画像部分-->
  5.       <div class="bx-viewport" aria-live="polite" style="width: 100%; overflow: hidden; position: relative; height: xxxpx;">
  6.        <ul style="width: xxxx%; position: relative; transition-duration: 0s; transform: translate3d(-xxxxpx, 0px, 0px);">
  7.          <!--1画像-->
  8.          <li style="float: left; list-style: none; position: relative; width: xxxpx; margin-right: 2px;" class="bx-clone" aria-hidden="true"> <a rel="" href="javascript:" data-href="https://image.jimcdn.com/app/cms/image/transf/none/path/xxxxxxx/image/xxxxxxx/version/xxxxxxx/xxxx.png" data-title=""><img src="https://image.jimcdn.com/app/cms/image/transf/none/path/xxxxxxx/image/xxxxxxx/version/xxxxxxx/xxx.png" data-orig-width="xxx" data-orig-height="xxx" alt="" style="height: xxxpx;"></a></li>
  9.          <!--2画像-->
  10.          <li style="float: left; list-style: none; position: relative; width: xxxpx; margin-right: 2px;" aria-hidden="true"> <a rel="lightbox[xxxxxxxx]" href="javascript:" data-href="https://image.jimcdn.com/app/cms/image/transf/none/path/xxxxxxx/image/xxxxxxx/version/xxxxxxx/xxxx.png" data-title="" data-index="0"><img src="https://image.jimcdn.com/app/cms/image/transf/none/path/xxxxxxx/image/xxxxxxxx/version/xxxxxxx/xxxx.png" data-orig-width="xxx" data-orig-height="xxx" alt="" style="height: xxxpx;"></a></li>
  11.          <!--1画像-->
  12.          <li style="float: left; list-style: none; position: relative; width: xxxpx; margin-right: 2px;" aria-hidden="false"> <a rel="lightbox[xxxxxxx]" href="javascript:" data-href="https://image.jimcdn.com/app/cms/image/transf/none/path/xxxxxxxx/image/xxxxxxxx/version/xxxxxxx/xxxx.png" data-title="" data-index="1"><img src="https://image.jimcdn.com/app/cms/image/transf/none/path/xxxxxxx/image/xxxxxxx/version/xxxxxxx/xxxx.png" data-orig-width="xxx" data-orig-height="xxx" alt="" style="height: xxxpx;"></a></li>
  13.          <!--2画像-->
  14.          <li style="float: left; list-style: none; position: relative; width: xxxpx; margin-right: 2px;" class="bx-clone" aria-hidden="true"> <a rel="" href="javascript:" data-href="https://image.jimcdn.com/app/cms/image/transf/none/path/xxxxxxxx/image/xxxxxxxx/version/xxxxxxx/xxxx.png" data-title=""><img src="https://image.jimcdn.com/app/cms/image/transf/none/path/xxxxxxx/image/xxxxxxx/version/xxxxxxx/xxxx.png" data-orig-width="xxx" data-orig-height="xxx" alt="" style="height: xxxpx;"></a></li>
  15.        </ul>
  16.       </div>
  17.       <div class="bx-controls bx-has-controls-direction bx-has-controls-auto">
  18.         <div class="bx-controls-direction"><a class="bx-prev" href=""></a><a class="bx-next" href=""></a></div>
  19.         <div class="bx-controls-auto" style="margin-left: -43px;">
  20.           <div class="bx-controls-auto-item"><a class="bx-start" href=""></a></div>
  21.         </div>
  22.       </div>
  23.     </div>
  24.     <!--下部小さな画像サムネイル(表示している場合)-->
  25.     <div class="cc-m-gallery-slider-bar">
  26.       <div class="cc-m-gallery-slider-thumbnails-wrapper">
  27.         <div class="cc-m-gallery-slider-thumbnails" style="width: xxpx;">
  28.           <!--1画像-->
  29.           <a data-slide-index="0" href="" class=""> <img src="https://image.jimcdn.com/app/cms/image/transf/dimension=25x25:mode=crop:format=png/path/xxxxxxx/image/xxxxxxx/version/xxxxxxx/xxxx.png" alt=""></a>
  30.           <!--2画像-->
  31.           <a data-slide-index="1" href="" class="active"><img src="https://image.jimcdn.com/app/cms/image/transf/dimension=25x25:mode=crop:format=png/path/xxxxxxx/image/xxxxxxx/version/xxxxxxxx/xxxx.png" alt=""></a>
  32.          </div>
  33.       </div>
  34.     </div> <a href="javascript:" class="cc-m-gallery-slider-fullscreen"></a> </div>
  35. </div>