<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to display multiple images in one slide on the image slider? in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/How-to-display-multiple-images-in-one-slide-on-the-image-slider/m-p/252817#M11006</link>
    <description>&lt;P&gt;Hi I am trying to&amp;nbsp;display multiple images in one slide, on the image slider?&lt;/P&gt;&lt;P&gt;Currently it only displays one image per slide.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this post:&lt;BR /&gt;&lt;A href="https://community.hubspot.com/t5/CMS-Development/Custom-Gallery/m-p/33825#M3279" target="_blank"&gt;https://community.hubspot.com/t5/CMS-Development/Custom-Gallery/m-p/33825#M3279&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am looking at the 'accepted solution' from '&lt;SPAN class=""&gt;Jsum', (&lt;SPAN class="local-date"&gt;‎02-08-2017&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt;11:39&lt;/SPAN&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{% gallery "crm_gallery" label="Image Gallery Clone", export_to_template_context=True %}&lt;BR /&gt;{% for item in widget_data.crm_gallery.slides %}&lt;/P&gt;&lt;P&gt;&amp;lt;img src="{{ item.img_src }}" alt="{{ item.alt_text }}"&amp;gt;&lt;/P&gt;&lt;P&gt;{% endfor %}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code he is saying to add, but it's not working for me. I have cloned the 'image gallery' source code and added the HubL code in there. I think I might be getting the labels and the 'system name' wrong, but I am not sure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dimitri.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Feb 2019 17:46:18 GMT</pubDate>
    <dc:creator>dimitricon</dc:creator>
    <dc:date>2019-02-13T17:46:18Z</dc:date>
    <item>
      <title>How to display multiple images in one slide on the image slider?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-display-multiple-images-in-one-slide-on-the-image-slider/m-p/252817#M11006</link>
      <description>&lt;P&gt;Hi I am trying to&amp;nbsp;display multiple images in one slide, on the image slider?&lt;/P&gt;&lt;P&gt;Currently it only displays one image per slide.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this post:&lt;BR /&gt;&lt;A href="https://community.hubspot.com/t5/CMS-Development/Custom-Gallery/m-p/33825#M3279" target="_blank"&gt;https://community.hubspot.com/t5/CMS-Development/Custom-Gallery/m-p/33825#M3279&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am looking at the 'accepted solution' from '&lt;SPAN class=""&gt;Jsum', (&lt;SPAN class="local-date"&gt;‎02-08-2017&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt;11:39&lt;/SPAN&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{% gallery "crm_gallery" label="Image Gallery Clone", export_to_template_context=True %}&lt;BR /&gt;{% for item in widget_data.crm_gallery.slides %}&lt;/P&gt;&lt;P&gt;&amp;lt;img src="{{ item.img_src }}" alt="{{ item.alt_text }}"&amp;gt;&lt;/P&gt;&lt;P&gt;{% endfor %}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code he is saying to add, but it's not working for me. I have cloned the 'image gallery' source code and added the HubL code in there. I think I might be getting the labels and the 'system name' wrong, but I am not sure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dimitri.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 17:46:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-display-multiple-images-in-one-slide-on-the-image-slider/m-p/252817#M11006</guid>
      <dc:creator>dimitricon</dc:creator>
      <dc:date>2019-02-13T17:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to display multiple images in one slide on the image slider?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-display-multiple-images-in-one-slide-on-the-image-slider/m-p/255446#M11179</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/86501"&gt;@dimitricon&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please share a link to the page you are working on?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The more information, screenshots and details you can provide, the better the Community can assist.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;BR /&gt;Jenny&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 22:33:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-display-multiple-images-in-one-slide-on-the-image-slider/m-p/255446#M11179</guid>
      <dc:creator>jennysowyrda</dc:creator>
      <dc:date>2019-02-25T22:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to display multiple images in one slide on the image slider?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-display-multiple-images-in-one-slide-on-the-image-slider/m-p/255509#M11187</link>
      <description>&lt;P&gt;Hi Jenny,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes sure, here is the preview link I am working on.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://preview.hs-sites.com/_hcms/preview/template/multi?is_buffered_template_layout=true&amp;amp;portalId=4558216&amp;amp;tc_deviceCategory=undefined&amp;amp;template_layout_id=6201265869&amp;amp;updated=1550144438379" target="_blank"&gt;https://preview.hs-sites.com/_hcms/preview/template/multi?is_buffered_template_layout=true&amp;amp;portalId=4558216&amp;amp;tc_deviceCategory=undefined&amp;amp;template_layout_id=6201265869&amp;amp;updated=1550144438379&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dimitri.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 09:30:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-display-multiple-images-in-one-slide-on-the-image-slider/m-p/255509#M11187</guid>
      <dc:creator>dimitricon</dc:creator>
      <dc:date>2019-02-26T09:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to display multiple images in one slide on the image slider?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-display-multiple-images-in-one-slide-on-the-image-slider/m-p/255774#M11218</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/86501"&gt;@dimitricon&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HubSpot makes use of the Slick Slider by Ken Wheeler. In order to make multiple images appear for the slick slider (which looks to be your logo's bar) you would want to use the information provided from the &lt;A href="http://kenwheeler.github.io/slick/#demos" target="_self"&gt;slick slider site about multiple items&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Essentially, you would be applying a custom class to the slider that would then be referenced in Javascript you would add to the bottom of the page. The JS would then look similar to this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$('.multiple-items-class-here').slick({
  infinite: true,
  slidesToShow: 3,
  slidesToScroll: 3
});&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;i believe though they implemented their own function name for it so you might have use:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;$('.multiple-items-class-here').hsSlick({
  infinite: true,
  slidesToShow: 3,
  slidesToScroll: 3
});&lt;/PRE&gt;&lt;P&gt;Hopefully, this helps point you in the right direction.&lt;/P&gt;&lt;P&gt;-AJ&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 23:41:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-display-multiple-images-in-one-slide-on-the-image-slider/m-p/255774#M11218</guid>
      <dc:creator>AJLaPorte_diagr</dc:creator>
      <dc:date>2019-02-26T23:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to display multiple images in one slide on the image slider?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-display-multiple-images-in-one-slide-on-the-image-slider/m-p/259313#M11460</link>
      <description>&lt;P&gt;Hi AJ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appologies for my late reply. Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No success for me on this. I have added this into the bottom of my page:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$('.crm_gallery').hsSlick({&lt;BR /&gt;infinite: true,&lt;BR /&gt;slidesToShow: 3,&lt;BR /&gt;slidesToScroll: 3&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that I have to create a custom class for the multiple items, but where do I add the custom class in the slider js?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was only able to create a clone of the gallery source code, will that clone still work?&lt;/P&gt;&lt;P&gt;I have added this code into the 'gallery source code clone', not sure if that needs to be removed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{% gallery "crm_gallery" label="Image Gallery Clone", export_to_template_context=True %}&lt;BR /&gt;{% for item in widget_data.crm_gallery.slides %}&lt;/P&gt;&lt;P&gt;&amp;lt;img src="{{ item.img_src }}" alt="{{ item.alt_text }}"&amp;gt;&lt;/P&gt;&lt;P&gt;{% endfor %}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the link I am working on&amp;nbsp;&lt;A href="https://whitelabeldating-4558216.hs-sites.com/home" target="_blank"&gt;https://whitelabeldating-4558216.hs-sites.com/home&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dimitri.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 11:12:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-display-multiple-images-in-one-slide-on-the-image-slider/m-p/259313#M11460</guid>
      <dc:creator>dimitricon</dc:creator>
      <dc:date>2019-03-15T11:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to display multiple images in one slide on the image slider?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-display-multiple-images-in-one-slide-on-the-image-slider/m-p/260138#M11532</link>
      <description>&lt;P&gt;Hi Jenny,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This helps but I still wasn't able to do get multiple items on the slider.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have posted another reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dimitri.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 09:18:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-display-multiple-images-in-one-slide-on-the-image-slider/m-p/260138#M11532</guid>
      <dc:creator>dimitricon</dc:creator>
      <dc:date>2019-03-20T09:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to display multiple images in one slide on the image slider?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-display-multiple-images-in-one-slide-on-the-image-slider/m-p/260443#M11554</link>
      <description>&lt;P&gt;Hi AJ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had another go, new fresh day and success!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Had another read through your post, I removed the 'Image gallery clone', its not needed in this solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All I had to do is, inspect element on the slider and find the custom id that Hubspot assigns to the slider.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is the id that I used in the script below and added that to the bottom of the page and it worked! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$('.multiple-items-class-here').hsSlick({
  infinite: true,
  slidesToShow: 3,
  slidesToScroll: 3
});&lt;/PRE&gt;&lt;P&gt;Thanks for your help AJ.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dimitri.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 09:45:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-display-multiple-images-in-one-slide-on-the-image-slider/m-p/260443#M11554</guid>
      <dc:creator>dimitricon</dc:creator>
      <dc:date>2019-03-21T09:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to display multiple images in one slide on the image slider?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-display-multiple-images-in-one-slide-on-the-image-slider/m-p/260503#M11566</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/86501"&gt;@dimitricon&lt;/a&gt;&amp;nbsp;Awesome to hear! I'm sorry I didn't get a chance to circle back to this faster as I was working on some other stuff. I'm glad this worked for you!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 14:22:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-display-multiple-images-in-one-slide-on-the-image-slider/m-p/260503#M11566</guid>
      <dc:creator>AJLaPorte_diagr</dc:creator>
      <dc:date>2019-03-21T14:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to display multiple images in one slide on the image slider?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-display-multiple-images-in-one-slide-on-the-image-slider/m-p/442309#M23364</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/86501"&gt;@dimitricon&lt;/a&gt;&amp;nbsp;, struggling with this and was hoping you could help. Would be happy to share my code.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 May 2021 03:24:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-display-multiple-images-in-one-slide-on-the-image-slider/m-p/442309#M23364</guid>
      <dc:creator>VNuccio</dc:creator>
      <dc:date>2021-05-29T03:24:49Z</dc:date>
    </item>
  </channel>
</rss>

