<?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 Re: Images on iOS Safari Not Displaying in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Images-on-iOS-Safari-Not-Displaying/m-p/763888#M33117</link>
    <description>&lt;P&gt;Hey Jaycee,&lt;BR /&gt;&lt;BR /&gt;That's a fair point, let me give more details and findings about this issue.&lt;BR /&gt;&lt;BR /&gt;So first, I'm using a repeater to run this infinite logo carousel in the Design Manager section. Let me provide the code snippet for this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;div class="slider px-3"&amp;gt;
   &amp;lt;div class="slide-track-ecommerce"&amp;gt;
      {% for item in module.ecommerce_tab.carrier_logos_for_ecommerce_mobile %}
      &amp;lt;div class="slide"&amp;gt;
         {% if item.src %}
         {% set sizeAttrs = 'width="{{ item.width }}" height="{{ item.height }}"' %}
         {% if item.size_type == 'auto' %}
         {% set sizeAttrs = 'width="{{ item.width }}" height="{{ item.height }}" style="max-width: 100%; height: auto;"' %}
         {% elif item.size_type == 'auto_custom_max' %}
         {% set sizeAttrs = 'width="{{ item.max_width }}" height="{{ item.max_height }}" style="max-width: 100%; height: auto;"' %}
         {% endif %}
         {% set loadingAttr = item.loading != 'disabled' ? 'loading="{{ item.loading }}"' : '' %}
         &amp;lt;img src="{{ item.src }}" alt="{{ item.alt }}" {{ loadingAttr }} {{ sizeAttrs }}&amp;gt;
         {% endif %}
      &amp;lt;/div&amp;gt;
      {% endfor %}
   &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;&lt;LI-CODE lang="css"&gt;@keyframes scroll-ecommerce {
0% {
transform: translateX(0);
}
100% {
transform: translateX(calc(-250px * 12));
}
}
.slider {
height: 100px;
margin: auto;
overflow: hidden;
position: relative;
width: 100vw;
margin-left: calc(-50vw + 50%);
background-color:#fff;
}
.slider::before, .slider::after {
/* 	 background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%); */
content: "";
height: 100px;
position: absolute;
width: 200px;
z-index: 2;
}
.slider::after {
right: 0;
top: 0;
transform: rotateZ(180deg);
}
.slider::before {
left: 0;
top: 0;
}
.slider .slide-track-ecommerce {
animation: scroll-ecommerce 24s linear infinite;
display: flex;
width: calc(250px * 24);
}
.slider .slide {
height: 100px;
width: 250px;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the expected result is seen below:&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="Animation GIF.gif" style="width: 320px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/86612i01A84E99ECC13B66/image-size/large?v=v2&amp;amp;px=999" role="button" title="Animation GIF.gif" alt="Animation GIF.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On iOS Safari, &lt;STRONG&gt;only the first two images are visible&lt;/STRONG&gt; on the carousel when the animation starts to appear normally. The remaining images are only showing their alt text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason, when I hardcode (by inserting the URLs for every slide), then all the images are working fine.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Mar 2023 14:21:15 GMT</pubDate>
    <dc:creator>PYoganathan</dc:creator>
    <dc:date>2023-03-03T14:21:15Z</dc:date>
    <item>
      <title>Images on iOS Safari Not Displaying</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Images-on-iOS-Safari-Not-Displaying/m-p/762833#M33063</link>
      <description>&lt;P&gt;I'm getting this &lt;STRONG&gt;odd bug for logos carousels&lt;/STRONG&gt; only on &lt;STRONG&gt;iOS Safari.&lt;/STRONG&gt; What happens is it only shows the Alt text of the images but once you scroll or tap anywhere on the page, then the image loads correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This doesn't happen anywhere else for images but wanted to know if this is common or what could be the possible reason for this.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot of iOS.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/86451iAE75FC82AC9F254A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot of iOS.jpeg" alt="Screenshot of iOS.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 18:20:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Images-on-iOS-Safari-Not-Displaying/m-p/762833#M33063</guid>
      <dc:creator>PYoganathan</dc:creator>
      <dc:date>2023-03-01T18:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Images on iOS Safari Not Displaying</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Images-on-iOS-Safari-Not-Displaying/m-p/763596#M33100</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/190425"&gt;@PYoganathan&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; It's likely the community cannot try to help without being able to see the issue in action. You haven't done anything wrong, it's just that it's likely too broad to answer without more details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 22:48:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Images-on-iOS-Safari-Not-Displaying/m-p/763596#M33100</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2023-03-02T22:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Images on iOS Safari Not Displaying</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Images-on-iOS-Safari-Not-Displaying/m-p/763888#M33117</link>
      <description>&lt;P&gt;Hey Jaycee,&lt;BR /&gt;&lt;BR /&gt;That's a fair point, let me give more details and findings about this issue.&lt;BR /&gt;&lt;BR /&gt;So first, I'm using a repeater to run this infinite logo carousel in the Design Manager section. Let me provide the code snippet for this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;div class="slider px-3"&amp;gt;
   &amp;lt;div class="slide-track-ecommerce"&amp;gt;
      {% for item in module.ecommerce_tab.carrier_logos_for_ecommerce_mobile %}
      &amp;lt;div class="slide"&amp;gt;
         {% if item.src %}
         {% set sizeAttrs = 'width="{{ item.width }}" height="{{ item.height }}"' %}
         {% if item.size_type == 'auto' %}
         {% set sizeAttrs = 'width="{{ item.width }}" height="{{ item.height }}" style="max-width: 100%; height: auto;"' %}
         {% elif item.size_type == 'auto_custom_max' %}
         {% set sizeAttrs = 'width="{{ item.max_width }}" height="{{ item.max_height }}" style="max-width: 100%; height: auto;"' %}
         {% endif %}
         {% set loadingAttr = item.loading != 'disabled' ? 'loading="{{ item.loading }}"' : '' %}
         &amp;lt;img src="{{ item.src }}" alt="{{ item.alt }}" {{ loadingAttr }} {{ sizeAttrs }}&amp;gt;
         {% endif %}
      &amp;lt;/div&amp;gt;
      {% endfor %}
   &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;&lt;LI-CODE lang="css"&gt;@keyframes scroll-ecommerce {
0% {
transform: translateX(0);
}
100% {
transform: translateX(calc(-250px * 12));
}
}
.slider {
height: 100px;
margin: auto;
overflow: hidden;
position: relative;
width: 100vw;
margin-left: calc(-50vw + 50%);
background-color:#fff;
}
.slider::before, .slider::after {
/* 	 background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%); */
content: "";
height: 100px;
position: absolute;
width: 200px;
z-index: 2;
}
.slider::after {
right: 0;
top: 0;
transform: rotateZ(180deg);
}
.slider::before {
left: 0;
top: 0;
}
.slider .slide-track-ecommerce {
animation: scroll-ecommerce 24s linear infinite;
display: flex;
width: calc(250px * 24);
}
.slider .slide {
height: 100px;
width: 250px;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the expected result is seen below:&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="Animation GIF.gif" style="width: 320px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/86612i01A84E99ECC13B66/image-size/large?v=v2&amp;amp;px=999" role="button" title="Animation GIF.gif" alt="Animation GIF.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On iOS Safari, &lt;STRONG&gt;only the first two images are visible&lt;/STRONG&gt; on the carousel when the animation starts to appear normally. The remaining images are only showing their alt text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason, when I hardcode (by inserting the URLs for every slide), then all the images are working fine.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 14:21:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Images-on-iOS-Safari-Not-Displaying/m-p/763888#M33117</guid>
      <dc:creator>PYoganathan</dc:creator>
      <dc:date>2023-03-03T14:21:15Z</dc:date>
    </item>
  </channel>
</rss>

