<?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 Images and Carousel sometimes not loading on initial visits in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Images-and-Carousel-sometimes-not-loading-on-initial-visits/m-p/1231148#M44666</link>
    <description>&lt;P&gt;I've recently developed a product page template that has now been used for 6 product pages on our website. On initial visits by some team members, I've received some comments that images or carousel are not loading in properly. Upon a refresh of the page, things load in properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm concerned that once customers begin visiting the pages, they will receive the same loading error and render the page useless. Can someone please take a look and let me know why something like this would be happening? We are planning on building more pages. Below are the 6 URLs for the previously mentioned product pages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.bridgeportworldwide.com/athmer-schall-ex-ultra-ws" target="_blank"&gt;https://www.bridgeportworldwide.com/athmer-schall-ex-ultra-ws&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.bridgeportworldwide.com/athmer-rainstop-l-24/20-ws" target="_blank"&gt;https://www.bridgeportworldwide.com/athmer-rainstop-l-24/20-ws&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.bridgeportworldwide.com/athmer-schall-ex-l-15/30-ws-pivot" target="_blank"&gt;https://www.bridgeportworldwide.com/athmer-schall-ex-l-15/30-ws-pivot&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.bridgeportworldwide.com/athmer-schall-ex-l-15/30-ws" target="_blank"&gt;https://www.bridgeportworldwide.com/athmer-schall-ex-l-15/30-ws&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.bridgeportworldwide.com/athmer-schall-ex-glass-solutions" target="_blank"&gt;https://www.bridgeportworldwide.com/athmer-schall-ex-glass-solutions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.bridgeportworldwide.com/athmer-schall-ex-l-15-fs" target="_blank"&gt;https://www.bridgeportworldwide.com/athmer-schall-ex-l-15-fs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 04 Dec 2025 16:38:18 GMT</pubDate>
    <dc:creator>MChe</dc:creator>
    <dc:date>2025-12-04T16:38:18Z</dc:date>
    <item>
      <title>Images and Carousel sometimes not loading on initial visits</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Images-and-Carousel-sometimes-not-loading-on-initial-visits/m-p/1231148#M44666</link>
      <description>&lt;P&gt;I've recently developed a product page template that has now been used for 6 product pages on our website. On initial visits by some team members, I've received some comments that images or carousel are not loading in properly. Upon a refresh of the page, things load in properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm concerned that once customers begin visiting the pages, they will receive the same loading error and render the page useless. Can someone please take a look and let me know why something like this would be happening? We are planning on building more pages. Below are the 6 URLs for the previously mentioned product pages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.bridgeportworldwide.com/athmer-schall-ex-ultra-ws" target="_blank"&gt;https://www.bridgeportworldwide.com/athmer-schall-ex-ultra-ws&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.bridgeportworldwide.com/athmer-rainstop-l-24/20-ws" target="_blank"&gt;https://www.bridgeportworldwide.com/athmer-rainstop-l-24/20-ws&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.bridgeportworldwide.com/athmer-schall-ex-l-15/30-ws-pivot" target="_blank"&gt;https://www.bridgeportworldwide.com/athmer-schall-ex-l-15/30-ws-pivot&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.bridgeportworldwide.com/athmer-schall-ex-l-15/30-ws" target="_blank"&gt;https://www.bridgeportworldwide.com/athmer-schall-ex-l-15/30-ws&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.bridgeportworldwide.com/athmer-schall-ex-glass-solutions" target="_blank"&gt;https://www.bridgeportworldwide.com/athmer-schall-ex-glass-solutions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.bridgeportworldwide.com/athmer-schall-ex-l-15-fs" target="_blank"&gt;https://www.bridgeportworldwide.com/athmer-schall-ex-l-15-fs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 16:38:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Images-and-Carousel-sometimes-not-loading-on-initial-visits/m-p/1231148#M44666</guid>
      <dc:creator>MChe</dc:creator>
      <dc:date>2025-12-04T16:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Images and Carousel sometimes not loading on initial visits</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Images-and-Carousel-sometimes-not-loading-on-initial-visits/m-p/1231205#M44668</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/690197"&gt;@MChe&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looks like this has something to do with the JavaScript plugin called "Flickity" that is being used for the slider.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The main photo is always there but it does not get displayed because the height of the main photo is set to zero in some ocassions, leading to this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="evaldas_0-1764878489422.png" style="width: 248px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/163160i036EA88F697EEE4B/image-dimensions/248x276?v=v2" width="248" height="276" role="button" title="evaldas_0-1764878489422.png" alt="evaldas_0-1764878489422.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It looks like the slider re-appears not just with a refresh but also by resizing the window, so there might be some JavaScript conflicts or bugs somewhere.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will likely need to have a developer try to troubleshoot the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 20:05:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Images-and-Carousel-sometimes-not-loading-on-initial-visits/m-p/1231205#M44668</guid>
      <dc:creator>evaldas</dc:creator>
      <dc:date>2025-12-04T20:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Images and Carousel sometimes not loading on initial visits</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Images-and-Carousel-sometimes-not-loading-on-initial-visits/m-p/1231424#M44676</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/690197"&gt;@MChe&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on a quick review, your script is firing before the DOM elements or images are fully rendered.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try wrapping your script in a window load event listener to make sure all assets are ready before the carousel JS runs.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;$(window).on('load', function() {
  // your carousel JS here
});&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This forces the script to wait until the entire page load (including images) is complete before running.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 12:14:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Images-and-Carousel-sometimes-not-loading-on-initial-visits/m-p/1231424#M44676</guid>
      <dc:creator>GiantFocal</dc:creator>
      <dc:date>2025-12-05T12:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Images and Carousel sometimes not loading on initial visits</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Images-and-Carousel-sometimes-not-loading-on-initial-visits/m-p/1231963#M44694</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/577159"&gt;@GiantFocal&lt;/a&gt;&amp;nbsp;Thank you for this! I just implemented it and tested it out. I'm no longer seeing that issue emerge, but I will keep an eye out for it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2025 14:41:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Images-and-Carousel-sometimes-not-loading-on-initial-visits/m-p/1231963#M44694</guid>
      <dc:creator>MChe</dc:creator>
      <dc:date>2025-12-08T14:41:38Z</dc:date>
    </item>
  </channel>
</rss>

