<?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: Select an image for a custom Infographic component in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/select-an-image-for-a-custom-infographic-component/m-p/1211551#M5280</link>
    <description>&lt;P&gt;This solution came full circle for me, this is how you can reference image assets for custom widgets:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import { ImageSelector } from 'jimu-ui/advanced/resource-selector'; 

&amp;lt;ImageSelector
  buttonClassName='my-class-names'
  widgetId={id} 
  buttonLabel={'myButtonLabel'} 
  buttonSize='sm'
  onChange={handleResourceChange} 
  imageParam={selectedImageParam} /&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Good luck!&lt;/P&gt;</description>
    <pubDate>Mon, 12 Sep 2022 12:55:10 GMT</pubDate>
    <dc:creator>DougLogsdon2</dc:creator>
    <dc:date>2022-09-12T12:55:10Z</dc:date>
    <item>
      <title>Select an image for a custom Infographic component</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/select-an-image-for-a-custom-infographic-component/m-p/1115641#M3179</link>
      <description>&lt;P&gt;Greetings! I would like to create an Infographic component for a data summary like below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougLogsdon2_0-1636552451669.png" style="width: 157px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27140iC6303D90AD5F8DCF/image-dimensions/157x157?v=v2" width="157" height="157" role="button" title="DougLogsdon2_0-1636552451669.png" alt="DougLogsdon2_0-1636552451669.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would like to be able to select an image for the background from the settings panel...similar to the included Image widget:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougLogsdon2_1-1636552985400.png" style="width: 218px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27141iFD2683D5B99DC3A4/image-dimensions/218x70?v=v2" width="218" height="70" role="button" title="DougLogsdon2_1-1636552985400.png" alt="DougLogsdon2_1-1636552985400.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I believe this is using:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;{&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ImageSelector&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;}&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;from&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'jimu-ui/advanced/resource-selector'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;DIV&gt;&lt;FONT face="inherit"&gt;though there are no TypeScript &lt;/FONT&gt;&lt;SPAN&gt;definitions&lt;/SPAN&gt;&lt;FONT face="inherit"&gt;&amp;nbsp;within ExB 1.6 and also not documented yet in &lt;A href="https://developers.arcgis.com/experience-builder/storybook/" target="_blank" rel="noopener"&gt;Storybook&lt;/A&gt;.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If anymore has info on setting this up regarding parameters and updating settings changes (or if something else should be used entirely) it would be greatly appreciated! Thanks again!&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 14:13:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/select-an-image-for-a-custom-infographic-component/m-p/1115641#M3179</guid>
      <dc:creator>DougLogsdon2</dc:creator>
      <dc:date>2021-11-10T14:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Select an image for a custom Infographic component</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/select-an-image-for-a-custom-infographic-component/m-p/1211551#M5280</link>
      <description>&lt;P&gt;This solution came full circle for me, this is how you can reference image assets for custom widgets:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import { ImageSelector } from 'jimu-ui/advanced/resource-selector'; 

&amp;lt;ImageSelector
  buttonClassName='my-class-names'
  widgetId={id} 
  buttonLabel={'myButtonLabel'} 
  buttonSize='sm'
  onChange={handleResourceChange} 
  imageParam={selectedImageParam} /&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Good luck!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 12:55:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/select-an-image-for-a-custom-infographic-component/m-p/1211551#M5280</guid>
      <dc:creator>DougLogsdon2</dc:creator>
      <dc:date>2022-09-12T12:55:10Z</dc:date>
    </item>
  </channel>
</rss>

