<?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 from FeatureLayer not displaying in JS API v3.13compact in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/images-from-featurelayer-not-displaying-in-js-api/m-p/509780#M3476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We just deployed a mobile app that uses jQuery mobile and the JS API v3.13compact to a Windows Server 2012 machine using IIS8. We have 3 identical environments in house, two where this is not happening, but on one of them some of the picturemarkersymbols in the scale dependent renderer of a feature layer are not displaying at one of the three scales that they're set to display at (though some symbols do display at that scale).&amp;nbsp; The other two scales work fine for all picturemarkersymbols.&amp;nbsp; When changing the one feature layer with the 3-tiered scale dependent renderer to 3 feature layers, each with one unique value renderer and each with different min/max scales, the problem does not go away.&amp;nbsp; This happens on all clients:&amp;nbsp; web, mobile, etc.&amp;nbsp; When browsing to the URL of the image directly, it does not show up on the first try even though the status is 200, but a refresh usually displays the image.&amp;nbsp; Sometimes when going back to the application after doing so the markers display, but sometimes do not.&amp;nbsp;&amp;nbsp; Pre-loading the images into a hidden div before loading the layers does not solve it either.&amp;nbsp; In the app the symbols will sometimes have a GET status of 200 (after clearing the browser cache) and sometimes a 304 (unchanged), but regardless of the status the images do not show up in the app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Network tab of the chrome dev tools the symbols that work have an "initiator" value of "svj.js", but those having an "initiator" of my HTML page do not work.&amp;nbsp; That's the only difference that I can see.&amp;nbsp; According to the Google documentation the initiator is "The object or process that initiated the request. It can have one of the following values: Parser, Redirect, Script, Other".&amp;nbsp; All images -- those that work and those that don't -- are in the same folder on the web server and all have identical permissions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem seems to be server side, but I haven't been able to track it down. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideas or thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 May 2015 07:21:43 GMT</pubDate>
    <dc:creator>ChrisBeaudette</dc:creator>
    <dc:date>2015-05-21T07:21:43Z</dc:date>
    <item>
      <title>Images from FeatureLayer not displaying in JS API v3.13compact</title>
      <link>https://community.esri.com/t5/developers-questions/images-from-featurelayer-not-displaying-in-js-api/m-p/509780#M3476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We just deployed a mobile app that uses jQuery mobile and the JS API v3.13compact to a Windows Server 2012 machine using IIS8. We have 3 identical environments in house, two where this is not happening, but on one of them some of the picturemarkersymbols in the scale dependent renderer of a feature layer are not displaying at one of the three scales that they're set to display at (though some symbols do display at that scale).&amp;nbsp; The other two scales work fine for all picturemarkersymbols.&amp;nbsp; When changing the one feature layer with the 3-tiered scale dependent renderer to 3 feature layers, each with one unique value renderer and each with different min/max scales, the problem does not go away.&amp;nbsp; This happens on all clients:&amp;nbsp; web, mobile, etc.&amp;nbsp; When browsing to the URL of the image directly, it does not show up on the first try even though the status is 200, but a refresh usually displays the image.&amp;nbsp; Sometimes when going back to the application after doing so the markers display, but sometimes do not.&amp;nbsp;&amp;nbsp; Pre-loading the images into a hidden div before loading the layers does not solve it either.&amp;nbsp; In the app the symbols will sometimes have a GET status of 200 (after clearing the browser cache) and sometimes a 304 (unchanged), but regardless of the status the images do not show up in the app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Network tab of the chrome dev tools the symbols that work have an "initiator" value of "svj.js", but those having an "initiator" of my HTML page do not work.&amp;nbsp; That's the only difference that I can see.&amp;nbsp; According to the Google documentation the initiator is "The object or process that initiated the request. It can have one of the following values: Parser, Redirect, Script, Other".&amp;nbsp; All images -- those that work and those that don't -- are in the same folder on the web server and all have identical permissions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem seems to be server side, but I haven't been able to track it down. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideas or thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 07:21:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/images-from-featurelayer-not-displaying-in-js-api/m-p/509780#M3476</guid>
      <dc:creator>ChrisBeaudette</dc:creator>
      <dc:date>2015-05-21T07:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Images from FeatureLayer not displaying in JS API v3.13compact</title>
      <link>https://community.esri.com/t5/developers-questions/images-from-featurelayer-not-displaying-in-js-api/m-p/509781#M3477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not exactly sure what the root cause was and why it was happening on one server only and not the other two, but this was fixed as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;1.&lt;/TD&gt;&lt;TD&gt;Open icon that works in image editor&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2.&lt;/TD&gt;&lt;TD&gt;Open icon that doesn’t work in image editor&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3.&lt;/TD&gt;&lt;TD&gt;Delete contents of #1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4.&lt;/TD&gt;&lt;TD&gt;Paste contents of #2 into #1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5.&lt;/TD&gt;&lt;TD&gt;Save #1 as #2 file name&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 18:52:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/images-from-featurelayer-not-displaying-in-js-api/m-p/509781#M3477</guid>
      <dc:creator>ChrisBeaudette</dc:creator>
      <dc:date>2015-05-21T18:52:20Z</dc:date>
    </item>
  </channel>
</rss>

