<?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 Betreff: Custom Modules for Images in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Custom-Modules-for-Images/m-p/602795#M28051</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/355868"&gt;@JWise2&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;its probably the case that it is set up in the CSS part of that module. Probably all images of the class &lt;STRONG&gt;"hs-partner-item"&lt;/STRONG&gt; are limited to a maximum size of 125px. You can change this number in the CSS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;However, I would also advise to implement the function "image_resize_url". &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will crop the image to the maximum size and thus optimize the loading speed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reason: If you would load an image with 1200px width, it would only be displayed with 128px, but it would be downloaded in full resolution, which takes unnecessary loading time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if you use the function, the image will be recalculated by HubSpot and is then also only 128px in size, although the original image was 1200px in size.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;</description>
    <pubDate>Mon, 28 Mar 2022 14:45:42 GMT</pubDate>
    <dc:creator>WMM_Inbound</dc:creator>
    <dc:date>2022-03-28T14:45:42Z</dc:date>
    <item>
      <title>Custom Modules for Images</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Modules-for-Images/m-p/601811#M28025</link>
      <description>&lt;P&gt;We have a custom module to showcase our Partner Logos that was built to keep our images at a set size. At present, it defaults to 125x125 icon. Based off what you see in the code, how do we get it to stop defaulting. We have made the adjustments on the side in the Content Options, but we are still limited on the size of the images.&amp;nbsp;&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="Screen Shot 2022-03-25 at 2.00.40 PM.png" style="width: 651px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/62573iEF62E0B257CCA889/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-03-25 at 2.00.40 PM.png" alt="Screen Shot 2022-03-25 at 2.00.40 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 18:05:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Modules-for-Images/m-p/601811#M28025</guid>
      <dc:creator>JWise2</dc:creator>
      <dc:date>2022-03-25T18:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Modules for Images</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Modules-for-Images/m-p/602769#M28045</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/355868"&gt;@JWise2&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;It is most likely in a css file.&amp;nbsp; Do you have a link to a page with the partner logos?&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/328782"&gt;@A_Wessolly&lt;/a&gt;&amp;nbsp; can most likely help if you have a bit more info &lt;span class="lia-unicode-emoji" title=":oncoming_fist:"&gt;👊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 14:13:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Modules-for-Images/m-p/602769#M28045</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2022-03-28T14:13:14Z</dc:date>
    </item>
    <item>
      <title>Betreff: Custom Modules for Images</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Modules-for-Images/m-p/602795#M28051</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/355868"&gt;@JWise2&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;its probably the case that it is set up in the CSS part of that module. Probably all images of the class &lt;STRONG&gt;"hs-partner-item"&lt;/STRONG&gt; are limited to a maximum size of 125px. You can change this number in the CSS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;However, I would also advise to implement the function "image_resize_url". &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will crop the image to the maximum size and thus optimize the loading speed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reason: If you would load an image with 1200px width, it would only be displayed with 128px, but it would be downloaded in full resolution, which takes unnecessary loading time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if you use the function, the image will be recalculated by HubSpot and is then also only 128px in size, although the original image was 1200px in size.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 14:45:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Modules-for-Images/m-p/602795#M28051</guid>
      <dc:creator>WMM_Inbound</dc:creator>
      <dc:date>2022-03-28T14:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Modules for Images</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Modules-for-Images/m-p/603846#M28084</link>
      <description>&lt;P&gt;We haven't deployed the page yet, but we were using a custom module that was supposed to be for featuring partner logos. We just can't get it to allow us to change the image sizes. Here's a larger screenshot of the custom module items. None of the display conditions on the right actually work when editing the module on a page.&amp;nbsp;&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="image.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/62770i9EEE63D79A79B569/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 20:49:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Modules-for-Images/m-p/603846#M28084</guid>
      <dc:creator>JWise2</dc:creator>
      <dc:date>2022-03-29T20:49:01Z</dc:date>
    </item>
    <item>
      <title>Betreff: Custom Modules for Images</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Modules-for-Images/m-p/603855#M28085</link>
      <description>&lt;P&gt;Andreas,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the response. We attempted to look into your solution but have run into a roadblock. Would the page be controlling the module? We weren't able to find the CSS you were referencing. Here's a more expanded image of the module settings. Even with the Display Conditions available in the module, we still aren't able to change the image sizes and keep them defined.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jason&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="image.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/62771iEDB27B6A2EB84A26/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 20:56:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Modules-for-Images/m-p/603855#M28085</guid>
      <dc:creator>JWise2</dc:creator>
      <dc:date>2022-03-29T20:56:30Z</dc:date>
    </item>
    <item>
      <title>Betreff: Custom Modules for Images</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Modules-for-Images/m-p/606236#M28142</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/355868"&gt;@JWise2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you post a link to the page?&lt;/P&gt;
&lt;P&gt;If not there, it is in another css file &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 20:22:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Modules-for-Images/m-p/606236#M28142</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2022-04-01T20:22:08Z</dc:date>
    </item>
  </channel>
</rss>

