<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community : All Content - All Communities</title>
    <link>https://forums.adobe.com/</link>
    <description>All Content in Adobe Community</description>
    <language>en</language>
    <pubDate>Sun, 15 Jun 2014 10:14:07 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-06-15T10:14:07Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>how to get the width and height of an external image</title>
      <link>https://forums.adobe.com/thread/1497038</link>
      <description>&lt;!-- [DocumentBodyStart:3eee9417-b107-49d5-8172-f4f984fd4d9b] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;lets say I want to get the width and/or height of this external image (it could also be an external file on my hdd): &lt;/span&gt;&lt;a class="jive-link-external-small" href="http://www.icatcher.com/wp-content/uploads/2013/01/Adobe.png" rel="nofollow"&gt;http://www.icatcher.com/wp-content/uploads/2013/01/Adobe.png&lt;/a&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I create a button and add a onClick function that says&lt;/p&gt;&lt;!--[CodeBlockStart:3872d7ab-7725-433a-ac81-43c2e35f7a00][excluded]--&gt;&lt;pre class="javascript" name="code"&gt;
var externalImageWidth = ???
alert(externalImageWidth);
&lt;/pre&gt;&lt;!--[CodeBlockEnd:3872d7ab-7725-433a-ac81-43c2e35f7a00]--&gt;&lt;div style="display:none;"&gt;&lt;/div&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;How do I do it (so to say dynamically?)&amp;nbsp; without adding the image itself to my library or put it on the stage?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;All my attempts said "undefined" or "0" or they just didnt work. &lt;/p&gt;&lt;p&gt;Thanks in advance!! &lt;span style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:3eee9417-b107-49d5-8172-f4f984fd4d9b] --&gt;&lt;img src='/beacon?t=1415948819915' /&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">image</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">size</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">external</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">dynamically</category>
      <pubDate>Sun, 15 Jun 2014 10:14:07 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1497038</guid>
      <dc:date>2014-06-15T10:14:07Z</dc:date>
      <clearspace:dateToText>4 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>7</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

