def render_thumb_gallery(list, opts = {})
      opts.reverse_merge!(
        renderer: Integral::SwiperListRenderer,
        item_renderer: Integral::PartialListItemRenderer,
        item_renderer_opts: {
          partial_path: 'integral/shared/gallery/thumb_slide',
          wrapper_element: 'div',
          image_version: :small,
          html_classes: 'swiper-slide'
        }
      )

      opts[:renderer].render(list, opts).html_safe
    end
def render_thumb_gallery(list, opts = {})
      opts.reverse_merge!(
        renderer: Integral::SwiperListRenderer,
        item_renderer: Integral::PartialListItemRenderer,
        item_renderer_opts: {
          partial_path: 'integral/shared/gallery/thumb_slide',
          wrapper_element: 'div',
          image_version: :small,
          html_classes: 'swiper-slide'
        }
      )

      opts[:renderer].render(list, opts).html_safe
    end
Renders a thumbnail gallery