<?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 Change BasemapGallery thumbnail size in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753937#M69709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking for a way to change the size of the thumbnails within the basemapGallery.&amp;nbsp; I have thumbnails that are 300x200px but the gallery seems to have a default size of around 60x50px which it forces all thumbnails to.&amp;nbsp; i would like to increase the size of these thumbnails but cannot find a single example of how to do this, or any reference anywhere regarding thumbnail size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Feb 2016 18:13:07 GMT</pubDate>
    <dc:creator>AustinMulder</dc:creator>
    <dc:date>2016-02-19T18:13:07Z</dc:date>
    <item>
      <title>Change BasemapGallery thumbnail size</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753937#M69709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking for a way to change the size of the thumbnails within the basemapGallery.&amp;nbsp; I have thumbnails that are 300x200px but the gallery seems to have a default size of around 60x50px which it forces all thumbnails to.&amp;nbsp; i would like to increase the size of these thumbnails but cannot find a single example of how to do this, or any reference anywhere regarding thumbnail size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 18:13:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753937#M69709</guid>
      <dc:creator>AustinMulder</dc:creator>
      <dc:date>2016-02-19T18:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Change BasemapGallery thumbnail size</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753938#M69710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not think that you can change the size of these thumbnails in Esri's out-of-the-box galleries. You will likely have to custom create your own landing page to make a gallery of maps/apps in order to make the thumbnails different. Though, I could be wrong...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 18:15:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753938#M69710</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2016-02-19T18:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Change BasemapGallery thumbnail size</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753939#M69711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Austin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post the code you are working with or a sample you are basing your wepapp off of ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 18:17:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753939#M69711</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2016-02-19T18:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Change BasemapGallery thumbnail size</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753940#M69712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the &lt;A href="https://developers.arcgis.com/javascript/jsapi/css/esri/dijit/css/BasemapGallery.css" rel="nofollow noopener noreferrer" target="_blank"&gt;CSS&lt;/A&gt;, you can make changes to the .esriBasemapGalleryThumbnail size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;.esriBasemapGalleryThumbnail {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: 100px;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 150px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, just modifying this throws off the spacing of the thumbnails, so you'll have to explore the other settings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="gallery.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/185447_gallery.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:59:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753940#M69712</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-12-12T07:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Change BasemapGallery thumbnail size</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753941#M69713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Changing .esriBasemapGalleryNode fixes the overlap problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;.esriBasemapGalleryNode {
&amp;nbsp; width: 150px;
}&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="185449" alt="gallery2.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/185449_gallery2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:59:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753941#M69713</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-12-12T07:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Change BasemapGallery thumbnail size</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753942#M69714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick answer Ken,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I am not seeing any change.&amp;nbsp; I am using JavaScript 3.15 if that matters..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the site I am working on: &lt;A href="http://maps.neotreks.com/" title="http://maps.neotreks.com/"&gt;NeoTreks Maps - Recreation and Trail Maps for the Untied States&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 18:54:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753942#M69714</guid>
      <dc:creator>AustinMulder</dc:creator>
      <dc:date>2016-02-19T18:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Change BasemapGallery thumbnail size</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753943#M69715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Austin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it on my end and it appears to work - are you sure your browser isn't caching something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 20:01:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753943#M69715</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2016-02-19T20:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Change BasemapGallery thumbnail size</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753944#M69716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But you didn't make any changes in the CSS values in your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way...why are you still using legacy style coding (dojo.require)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="gallery3.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/185459_gallery3.png" style="width: 620px; height: 567px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 20:16:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753944#M69716</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2016-02-19T20:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Change BasemapGallery thumbnail size</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753945#M69717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;faceplam...yes, it is now working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As to the dojo.require, what would be the appropriate way to do it now?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 21:19:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753945#M69717</guid>
      <dc:creator>AustinMulder</dc:creator>
      <dc:date>2016-02-19T21:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Change BasemapGallery thumbnail size</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753946#M69718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Esri require - check out a sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/widget_basemap.html" title="https://developers.arcgis.com/javascript/jssamples/widget_basemap.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Basemap gallery | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;require([
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/map", "esri/dijit/BasemapGallery", "esri/arcgis/utils",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/parser",


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dijit/layout/BorderContainer", "dijit/layout/ContentPane", "dijit/TitlePane",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/domReady!"
&amp;nbsp;&amp;nbsp;&amp;nbsp; ], function(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Map, BasemapGallery, arcgisUtils,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser
&amp;nbsp;&amp;nbsp;&amp;nbsp; ) {&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just make sure the module order is the same! Here's some more info:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jshelp/inside_dojo.html" title="https://developers.arcgis.com/javascript/jshelp/inside_dojo.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Working with Dojo | Guide | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note, in the example code, there were some modules not passed in the function - they were referenced in the front-end instead of in the script block.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:59:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753946#M69718</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2021-12-12T07:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Change BasemapGallery thumbnail size</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753947#M69719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's good to hear. BTW, you don't need to include all the BasemapGallery's CSS rules in your code, just the ones you want to modify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for moving the AMD-style coding, here are a couple of references you should read:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.esri.com/esri/arcgis/2013/10/14/the-abcs-of-amd/" title="https://blogs.esri.com/esri/arcgis/2013/10/14/the-abcs-of-amd/"&gt;The abc’s of AMD | ArcGIS Blog&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://dojotoolkit.org/documentation/tutorials/1.10/modern_dojo/index.html" title="http://dojotoolkit.org/documentation/tutorials/1.10/modern_dojo/index.html"&gt;Modern Dojo - Dojo Toolkit Tutorial&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 21:29:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-basemapgallery-thumbnail-size/m-p/753947#M69719</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2016-02-19T21:29:54Z</dc:date>
    </item>
  </channel>
</rss>

