<?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: Rotate pop-up image based on rotation angle attribute in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/rotate-pop-up-image-based-on-rotation-angle/m-p/1554860#M62205</link>
    <description>&lt;P&gt;Thanks for sharing that idea link. The confusing thing is that some of my CSS styling seems to be working, but the image rotation isn't. Here's an example of some CSS styling that works. The popup is on the left and the HTML/CSS is on the right.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Trisarahtops_0-1730494705052.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/118697i272C7E37680482CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Trisarahtops_0-1730494705052.png" alt="Trisarahtops_0-1730494705052.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I assume that you are correct, the rotation style simply isn't supported. I just wish that information was listed somewhere.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Nov 2024 21:01:00 GMT</pubDate>
    <dc:creator>Trisarahtops</dc:creator>
    <dc:date>2024-11-01T21:01:00Z</dc:date>
    <item>
      <title>Rotate pop-up image based on rotation angle attribute</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/rotate-pop-up-image-based-on-rotation-angle/m-p/1554316#M62190</link>
      <description>&lt;P&gt;I am trying to get an image in a popup to rotate based on a rotation angle attribute. I accomplished this in ArcGIS Pro:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Trisarahtops_0-1730386643536.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/118566iDF4956558CA1B4FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Trisarahtops_0-1730386643536.png" alt="Trisarahtops_0-1730386643536.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The symbol at the top is a transparent .png. I used HTML with embedded style to rotate based on the symbol rotation field:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Trisarahtops_1-1730386713678.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/118567i810875FAD15927B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Trisarahtops_1-1730386713678.png" alt="Trisarahtops_1-1730386713678.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Expression 1 above is a simple arcade expression that selects an image URL based on the symbol type that is clicked. "transform: rotate({SymbolRotation}deg);" correctly rotates the image.&lt;/P&gt;&lt;P&gt;However, I cannot get this to work in ArcGIS Online. The image displays, but is not rotated:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Trisarahtops_2-1730386851321.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/118568i348C871EE7C558E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Trisarahtops_2-1730386851321.png" alt="Trisarahtops_2-1730386851321.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I copy/pasted the same HTML code that I used in ArcPro, it changed it to this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Trisarahtops_3-1730386945097.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/118569iA09EBB692ECE0B4D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Trisarahtops_3-1730386945097.png" alt="Trisarahtops_3-1730386945097.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The rotation style is still in there, but it doesn't work.&lt;/P&gt;&lt;P&gt;Help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 15:26:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/rotate-pop-up-image-based-on-rotation-angle/m-p/1554316#M62190</guid>
      <dc:creator>Trisarahtops</dc:creator>
      <dc:date>2024-10-31T15:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate pop-up image based on rotation angle attribute</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/rotate-pop-up-image-based-on-rotation-angle/m-p/1554597#M62196</link>
      <description>&lt;P&gt;I don't believe rotate is supported in ArcGIS Online.&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/arcgis-online/reference/supported-html.htm" target="_blank"&gt;https://doc.arcgis.com/en/arcgis-online/reference/supported-html.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 05:12:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/rotate-pop-up-image-based-on-rotation-angle/m-p/1554597#M62196</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2024-11-01T05:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate pop-up image based on rotation angle attribute</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/rotate-pop-up-image-based-on-rotation-angle/m-p/1554680#M62199</link>
      <description>&lt;P&gt;Thanks, that is what I was guessing. However, "rotate" is CSS code within the style attribute. The page you linked says that the style attribute is supported within an image tag, but it does not say which version of CSS is supported within the style attribute. I am having trouble finding that information.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 13:51:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/rotate-pop-up-image-based-on-rotation-angle/m-p/1554680#M62199</guid>
      <dc:creator>Trisarahtops</dc:creator>
      <dc:date>2024-11-01T13:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate pop-up image based on rotation angle attribute</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/rotate-pop-up-image-based-on-rotation-angle/m-p/1554808#M62203</link>
      <description>&lt;P&gt;It's limited to an older version of html and I don't believe CSS is supported nor could find anything to suggest it is.&lt;/P&gt;&lt;P&gt;Here's an idea asking for html 5 and CSS&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-online-ideas/arcgis-online-popups-support-html5-syntax-like-css/idi-p/973828" target="_blank"&gt;https://community.esri.com/t5/arcgis-online-ideas/arcgis-online-popups-support-html5-syntax-like-css/idi-p/973828&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If I recall, some web apps have limited support for CSS design on a theme level, but otherwise you don't see it much through the ArcGIS online UI.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 18:33:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/rotate-pop-up-image-based-on-rotation-angle/m-p/1554808#M62203</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2024-11-01T18:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate pop-up image based on rotation angle attribute</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/rotate-pop-up-image-based-on-rotation-angle/m-p/1554860#M62205</link>
      <description>&lt;P&gt;Thanks for sharing that idea link. The confusing thing is that some of my CSS styling seems to be working, but the image rotation isn't. Here's an example of some CSS styling that works. The popup is on the left and the HTML/CSS is on the right.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Trisarahtops_0-1730494705052.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/118697i272C7E37680482CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Trisarahtops_0-1730494705052.png" alt="Trisarahtops_0-1730494705052.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I assume that you are correct, the rotation style simply isn't supported. I just wish that information was listed somewhere.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 21:01:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/rotate-pop-up-image-based-on-rotation-angle/m-p/1554860#M62205</guid>
      <dc:creator>Trisarahtops</dc:creator>
      <dc:date>2024-11-01T21:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate pop-up image based on rotation angle attribute</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/rotate-pop-up-image-based-on-rotation-angle/m-p/1554886#M62207</link>
      <description>It's more the case of what is supported is in the documentation, which is&lt;BR /&gt;html tags, in the context of text editors and pop-ups. Div and style&lt;BR /&gt;attributes are there.&lt;BR /&gt;&lt;BR /&gt;Other parts of the platform that support CSS clearly state it is supported&lt;BR /&gt;E.g.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://doc.arcgis.com/en/hub/sites/customizing-sites-with-html-and-css.htm" target="_blank"&gt;https://doc.arcgis.com/en/hub/sites/customizing-sites-with-html-and-css.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I don't think you need a documentation page to state that CSS is not&lt;BR /&gt;supported in popups. What you should use are the supported html tags. Often&lt;BR /&gt;where things work, but aren't officially documented or supported, you can&lt;BR /&gt;run into issues. e.g. it might stop working or not work in all clients.&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Nov 2024 22:48:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/rotate-pop-up-image-based-on-rotation-angle/m-p/1554886#M62207</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2024-11-01T22:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate pop-up image based on rotation angle attribute</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/rotate-pop-up-image-based-on-rotation-angle/m-p/1605008#M64395</link>
      <description>&lt;P&gt;For anyone interested in a workaround to achieve this then I came up with a novel workflow. Some image hosting providers such as cloudinary allow you to specify an angle to rotate the image through the url that you provide. I used this to rotate the image based on the features attribute information.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;`&amp;lt;img src="https://res.cloudinary.com/dwnvivbjn/image/upload/a_${Round($feature.heading_d)}/v1726068745/compass_ql0nwz.png" width="45" height="45" alt="Icon"&amp;gt;`&lt;/LI-CODE&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="JonathanDawe_BAS_0-1744325062508.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/130031i20ED678B30669F88/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonathanDawe_BAS_0-1744325062508.png" alt="JonathanDawe_BAS_0-1744325062508.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 22:44:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/rotate-pop-up-image-based-on-rotation-angle/m-p/1605008#M64395</guid>
      <dc:creator>JonathanDawe_BAS</dc:creator>
      <dc:date>2025-04-10T22:44:38Z</dc:date>
    </item>
  </channel>
</rss>

