<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Example YUI Image upload with YUI 2.6.0</title>
	<atom:link href="http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/feed/" rel="self" type="application/rss+xml" />
	<link>http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/</link>
	<description>Where stuff from my brain lands</description>
	<lastBuildDate>Sat, 27 Feb 2010 23:36:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: An Image Upload Extension for YUI Rich Text Editor &#124; All My Brain</title>
		<link>http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/comment-page-1/#comment-998</link>
		<dc:creator>An Image Upload Extension for YUI Rich Text Editor &#124; All My Brain</dc:creator>
		<pubDate>Sat, 16 Jan 2010 09:44:51 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=163#comment-998</guid>
		<description>[...] 11/6/08: I corrected errors in the script and added a working YUI 2.6 Image Uploader [...]</description>
		<content:encoded><![CDATA[<p>[...] 11/6/08: I corrected errors in the script and added a working YUI 2.6 Image Uploader [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/comment-page-1/#comment-876</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Thu, 16 Apr 2009 17:47:50 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=163#comment-876</guid>
		<description>Everybody&#039;s situation is slightly different.  Different browsers, different Operating systems etc.  Only thing I can suggest is to user FireBug w/ Firefox and enable YUI logging.</description>
		<content:encoded><![CDATA[<p>Everybody&#8217;s situation is slightly different.  Different browsers, different Operating systems etc.  Only thing I can suggest is to user FireBug w/ Firefox and enable YUI logging.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Øyvind</title>
		<link>http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/comment-page-1/#comment-875</link>
		<dc:creator>Øyvind</dc:creator>
		<pubDate>Thu, 16 Apr 2009 17:40:41 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=163#comment-875</guid>
		<description>Im trying this RTE with pic upload... but im still getting the same problem i had with the other version...

The image gets uploaded, but the &quot;Image URL&quot; just &quot;reloads&quot;

I see it changes, but in a sec, it returns to &quot;Image URL Here&quot;

How can i fix this?

Thanks</description>
		<content:encoded><![CDATA[<p>Im trying this RTE with pic upload&#8230; but im still getting the same problem i had with the other version&#8230;</p>
<p>The image gets uploaded, but the &#8220;Image URL&#8221; just &#8220;reloads&#8221;</p>
<p>I see it changes, but in a sec, it returns to &#8220;Image URL Here&#8221;</p>
<p>How can i fix this?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajasekhar</title>
		<link>http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/comment-page-1/#comment-870</link>
		<dc:creator>Rajasekhar</dc:creator>
		<pubDate>Tue, 14 Apr 2009 09:59:11 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=163#comment-870</guid>
		<description>try
			{
				// responseText and responseXML will be populated with the same data from the iframe.
				// Since the HTTP headers cannot be read from the iframe
				console.log(io);
				obj.responseText = io.contentWindow.document.body?io.contentWindow.document.body.innerHTML:io.contentWindow.document.documentElement.textContent;
				obj.responseXML = io.contentWindow.document.XMLDocument?io.contentWindow.document.XMLDocument:io.contentWindow.document;
			}
			catch(e)
			{
				alert(e.message);
			}

in catch i am getting error like
&quot;Permission denied to get property Window.document&quot;</description>
		<content:encoded><![CDATA[<p>try<br />
			{<br />
				// responseText and responseXML will be populated with the same data from the iframe.<br />
				// Since the HTTP headers cannot be read from the iframe<br />
				console.log(io);<br />
				obj.responseText = io.contentWindow.document.body?io.contentWindow.document.body.innerHTML:io.contentWindow.document.documentElement.textContent;<br />
				obj.responseXML = io.contentWindow.document.XMLDocument?io.contentWindow.document.XMLDocument:io.contentWindow.document;<br />
			}<br />
			catch(e)<br />
			{<br />
				alert(e.message);<br />
			}</p>
<p>in catch i am getting error like<br />
&#8220;Permission denied to get property Window.document&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajasekhar</title>
		<link>http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/comment-page-1/#comment-869</link>
		<dc:creator>Rajasekhar</dc:creator>
		<pubDate>Tue, 14 Apr 2009 09:56:34 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=163#comment-869</guid>
		<description>when form submitted response is inserted to iframe.

in connection.js 
uploadFile:function(o, callback, uri, postData) 

in this method i am unable to get the response.

Mianly i am using this in ning opnesocial application.

please help me on this issue.this is very important for me.

target iframe is getting created and removed .then how can i get the response 


thank 
Rajasekhar</description>
		<content:encoded><![CDATA[<p>when form submitted response is inserted to iframe.</p>
<p>in connection.js<br />
uploadFile:function(o, callback, uri, postData) </p>
<p>in this method i am unable to get the response.</p>
<p>Mianly i am using this in ning opnesocial application.</p>
<p>please help me on this issue.this is very important for me.</p>
<p>target iframe is getting created and removed .then how can i get the response </p>
<p>thank<br />
Rajasekhar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajasekhar</title>
		<link>http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/comment-page-1/#comment-868</link>
		<dc:creator>Rajasekhar</dc:creator>
		<pubDate>Tue, 14 Apr 2009 09:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=163#comment-868</guid>
		<description>Hi,

I am using rte image uploader.
i am unable to get the response after the image is uploaded to given folder.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am using rte image uploader.<br />
i am unable to get the response after the image is uploaded to given folder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: measaura</title>
		<link>http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/comment-page-1/#comment-865</link>
		<dc:creator>measaura</dc:creator>
		<pubDate>Sat, 11 Apr 2009 13:39:28 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=163#comment-865</guid>
		<description>Great post! Anyhow, I&#039;ve managed to use the yui-image-uploader26.js with RTE version 2.7. Maybe If I have more time, I&#039;ll add the upload progress into the script.</description>
		<content:encoded><![CDATA[<p>Great post! Anyhow, I&#8217;ve managed to use the yui-image-uploader26.js with RTE version 2.7. Maybe If I have more time, I&#8217;ll add the upload progress into the script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sasanka</title>
		<link>http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/comment-page-1/#comment-863</link>
		<dc:creator>Sasanka</dc:creator>
		<pubDate>Wed, 08 Apr 2009 14:21:47 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=163#comment-863</guid>
		<description>Hi,

Thanks for the detailed guideline of YUI image upload functionality.

I am using the java servlet example. But I am not able to upload files because
the request object is not getting mapped with the insertimage_upload html file element.

I am using yui-image-uploader26.js and kept all other things as instructed.

Please advice.

Thanks and Regards
Sasanka</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for the detailed guideline of YUI image upload functionality.</p>
<p>I am using the java servlet example. But I am not able to upload files because<br />
the request object is not getting mapped with the insertimage_upload html file element.</p>
<p>I am using yui-image-uploader26.js and kept all other things as instructed.</p>
<p>Please advice.</p>
<p>Thanks and Regards<br />
Sasanka</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/comment-page-1/#comment-861</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Wed, 08 Apr 2009 11:50:32 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=163#comment-861</guid>
		<description>Firebug and YUI logger are your friends.</description>
		<content:encoded><![CDATA[<p>Firebug and YUI logger are your friends.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajasekhar</title>
		<link>http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/comment-page-1/#comment-860</link>
		<dc:creator>Rajasekhar</dc:creator>
		<pubDate>Wed, 08 Apr 2009 09:31:18 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=163#comment-860</guid>
		<description>I getting error like 

error Permission denied to get property Window.document

What is the reason .please help me this is very urgent</description>
		<content:encoded><![CDATA[<p>I getting error like </p>
<p>error Permission denied to get property Window.document</p>
<p>What is the reason .please help me this is very urgent</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phil</title>
		<link>http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/comment-page-1/#comment-857</link>
		<dc:creator>phil</dc:creator>
		<pubDate>Tue, 31 Mar 2009 19:15:21 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=163#comment-857</guid>
		<description>it work&#039;s fine with a LAMP, thank&#039;s 
phil</description>
		<content:encoded><![CDATA[<p>it work&#8217;s fine with a LAMP, thank&#8217;s<br />
phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phil</title>
		<link>http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/comment-page-1/#comment-856</link>
		<dc:creator>phil</dc:creator>
		<pubDate>Tue, 31 Mar 2009 18:51:54 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=163#comment-856</guid>
		<description>yes, I&#039;m using your sample php and the site work vwith WAMP. I&#039;ll try this on a Linux server.
Thanks</description>
		<content:encoded><![CDATA[<p>yes, I&#8217;m using your sample php and the site work vwith WAMP. I&#8217;ll try this on a Linux server.<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/comment-page-1/#comment-855</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Tue, 31 Mar 2009 12:38:20 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=163#comment-855</guid>
		<description>Are you trying to use the sample PHP script from this site?  That script is quite Unix centric.  You&#039;ll need to adapt it for a Windows based server.</description>
		<content:encoded><![CDATA[<p>Are you trying to use the sample PHP script from this site?  That script is quite Unix centric.  You&#8217;ll need to adapt it for a Windows based server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phil</title>
		<link>http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/comment-page-1/#comment-854</link>
		<dc:creator>phil</dc:creator>
		<pubDate>Mon, 30 Mar 2009 20:49:53 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=163#comment-854</guid>
		<description>Hi dennis, 
this is my error message
&quot;\n&lt;b&gt;Warning&lt;/b&gt;: fopen(/image/12278.jpg) [&lt;a href=&quot;function.fopen&quot; rel=&quot;nofollow&quot;&gt;function.fopen&lt;/a&gt;]: failed to open stream: No such file or directory in &lt;b&gt;C:\wamp\www\YUI\image\upload.php&lt;/b&gt; on line &lt;b&gt;23&lt;/b&gt;\n\n&lt;b&gt;Warning&lt;/b&gt;: fwrite(): supplied argument is not a valid stream resource in &lt;b&gt;C:\wamp\www\YUI\image\upload.php&lt;/b&gt; on line &lt;b&gt;24&lt;/b&gt;\n\n&lt;b&gt;Warning&lt;/b&gt;: fclose(): supplied argument is not a valid stream resource in &lt;b&gt;C:\wamp\www\YUI\image\upload.php&lt;/b&gt; on line &lt;b&gt;25&lt;/b&gt;\n{status:&#039;UPLOADED&#039;, image_url:&#039;/image/12278.jpg&#039;}&quot;

I can&#039;t see the image and there is nothing uploaded in the /image directory.

thanks</description>
		<content:encoded><![CDATA[<p>Hi dennis,<br />
this is my error message<br />
&#8220;\n<b>Warning</b>: fopen(/image/12278.jpg) [<a href="function.fopen" rel="nofollow">function.fopen</a>]: failed to open stream: No such file or directory in <b>C:\wamp\www\YUI\image\upload.php</b> on line <b>23</b>\n\n<b>Warning</b>: fwrite(): supplied argument is not a valid stream resource in <b>C:\wamp\www\YUI\image\upload.php</b> on line <b>24</b>\n\n<b>Warning</b>: fclose(): supplied argument is not a valid stream resource in <b>C:\wamp\www\YUI\image\upload.php</b> on line <b>25</b>\n{status:&#8217;UPLOADED&#8217;, image_url:&#8217;/image/12278.jpg&#8217;}&#8221;</p>
<p>I can&#8217;t see the image and there is nothing uploaded in the /image directory.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/comment-page-1/#comment-828</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Wed, 18 Feb 2009 02:57:41 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=163#comment-828</guid>
		<description>Shouldn&#039;t be too hard.  I&#039;ve been a little out of the loop lately on YUI stuff since I&#039;ve been working on embedded software lately. The trend for the editor was to have more and more listener&#039;s that you could attach handlers too though.  I&#039;d wager everything is already in place for you to implement a delete image handler.</description>
		<content:encoded><![CDATA[<p>Shouldn&#8217;t be too hard.  I&#8217;ve been a little out of the loop lately on YUI stuff since I&#8217;ve been working on embedded software lately. The trend for the editor was to have more and more listener&#8217;s that you could attach handlers too though.  I&#8217;d wager everything is already in place for you to implement a delete image handler.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zaphod</title>
		<link>http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/comment-page-1/#comment-827</link>
		<dc:creator>zaphod</dc:creator>
		<pubDate>Tue, 17 Feb 2009 17:10:17 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=163#comment-827</guid>
		<description>I think the listener idea is a good one. The server side I can handle with PHP, but I am new to YUI and Ajax.  I was looking into using YUI to re-do the back-end admin pages of my software and I like the look and feel of YUI.  

I also noticed that the editor in Wordpress allows for drag-and-drop image uploading into the edit box. How hard would that be to implement in YUI?</description>
		<content:encoded><![CDATA[<p>I think the listener idea is a good one. The server side I can handle with PHP, but I am new to YUI and Ajax.  I was looking into using YUI to re-do the back-end admin pages of my software and I like the look and feel of YUI.  </p>
<p>I also noticed that the editor in Wordpress allows for drag-and-drop image uploading into the edit box. How hard would that be to implement in YUI?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/comment-page-1/#comment-826</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Tue, 17 Feb 2009 16:11:36 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=163#comment-826</guid>
		<description>You&#039;re correct.  I dealt with orphans by looking at the contents of the text area when saving and any images not references were flagged for deletion.  You could go further and implement a listener that fires when the image is deleted and then handle the event appropriately.  Sounds like a good add-on to this project actually.</description>
		<content:encoded><![CDATA[<p>You&#8217;re correct.  I dealt with orphans by looking at the contents of the text area when saving and any images not references were flagged for deletion.  You could go further and implement a listener that fires when the image is deleted and then handle the event appropriately.  Sounds like a good add-on to this project actually.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zaphod</title>
		<link>http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/comment-page-1/#comment-825</link>
		<dc:creator>zaphod</dc:creator>
		<pubDate>Tue, 17 Feb 2009 05:26:40 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=163#comment-825</guid>
		<description>So what happens if someone removes or deletes the image from the text? Does it remain on the server as an orphan?</description>
		<content:encoded><![CDATA[<p>So what happens if someone removes or deletes the image from the text? Does it remain on the server as an orphan?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phoebebright</title>
		<link>http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/comment-page-1/#comment-817</link>
		<dc:creator>phoebebright</dc:creator>
		<pubDate>Wed, 11 Feb 2009 00:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=163#comment-817</guid>
		<description>Yes, your example works which is why I&#039;m blaming Django!  Will explore messaging tomorrow.  Thanks for the quick response.</description>
		<content:encoded><![CDATA[<p>Yes, your example works which is why I&#8217;m blaming Django!  Will explore messaging tomorrow.  Thanks for the quick response.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://allmybrain.com/2008/11/06/example-yui-image-upload-with-yui-260/comment-page-1/#comment-815</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Tue, 10 Feb 2009 22:50:51 +0000</pubDate>
		<guid isPermaLink="false">http://allmybrain.com/?p=163#comment-815</guid>
		<description>Do other browsers work with my example here?

Have you learned how to enable the YAHOO logging messages and view them in any browser?  The library has enough debug and error messages that you should be able to see exactly what is going on in pretty much any browser.  Adding and viewing the logging panel is an exercise left up to you though.  There are a lot of examples on the YUI developer site for the logger component.

You can always add additional debug messages if you need too.</description>
		<content:encoded><![CDATA[<p>Do other browsers work with my example here?</p>
<p>Have you learned how to enable the YAHOO logging messages and view them in any browser?  The library has enough debug and error messages that you should be able to see exactly what is going on in pretty much any browser.  Adding and viewing the logging panel is an exercise left up to you though.  There are a lot of examples on the YUI developer site for the logger component.</p>
<p>You can always add additional debug messages if you need too.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
