<?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: jQuery Ajax File Upload</title>
	<atom:link href="http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html/feed" rel="self" type="application/rss+xml" />
	<link>http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html</link>
	<description>The best javascripts for your site</description>
	<lastBuildDate>Tue, 17 Jan 2012 16:43:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: daniel</title>
		<link>http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html/comment-page-1#comment-21671</link>
		<dc:creator>daniel</dc:creator>
		<pubDate>Tue, 17 Jan 2012 16:43:09 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html#comment-21671</guid>
		<description>i can t download source file ?:(</description>
		<content:encoded><![CDATA[<p>i can t download source file ?:(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html/comment-page-1#comment-14405</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Wed, 20 Jul 2011 13:09:32 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html#comment-14405</guid>
		<description>None of the demos are online, nor is the code. 

Can you please sort this out?</description>
		<content:encoded><![CDATA[<p>None of the demos are online, nor is the code. </p>
<p>Can you please sort this out?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 10????Ajax jQuery?????? &#124; iXHTML.com</title>
		<link>http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html/comment-page-1#comment-9986</link>
		<dc:creator>10????Ajax jQuery?????? &#124; iXHTML.com</dc:creator>
		<pubDate>Tue, 25 Jan 2011 08:22:39 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html#comment-9986</guid>
		<description>[...] 5?jQuery AJAX File Upload [...]</description>
		<content:encoded><![CDATA[<p>[...] 5?jQuery AJAX File Upload [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: craig</title>
		<link>http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html/comment-page-1#comment-7194</link>
		<dc:creator>craig</dc:creator>
		<pubDate>Sun, 01 Aug 2010 17:30:55 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html#comment-7194</guid>
		<description>@miky
@web designer
@Selina

Yes I can show you how.

I am gonna tell you how the original script and my modification work.

When you click a file name to upload,  files/images are sent to and stored in server, &quot;pic&quot; folder. During this storing process, you capture the file name by PHP, then send the name  back to browser, put it in the &quot;src&quot; attribute, that&#039;s how you have image displayed on browser immediately.

But, you have to resize the image to make it look nice and neat on browser, right? Therefore, before sending the file name back to browser, you have to resize the original image with PHP and rename with key word &quot;thumb&quot; attached to the original name, then store the thumb image in the same folder with original image. There u have the thumb now.

To remove, during storing and resizing process, you send the id or the name of original image to browser and store it in JavaScript variable or in one of the element&#039;s attributes, its your choice. So when u click remove link, you will get the name which was stored in browser, send to server, this is when server know what file name you want to delete. Meanwhile, in your Javascript code, put a snippet to hide/remove the link element and image element from browser view.

Hope that makes sense. Anyway, if it&#039;s too hard to figure out, you can contact me at craigcosmo@gmail.com to get the script.</description>
		<content:encoded><![CDATA[<p>@miky<br />
@web designer<br />
@Selina</p>
<p>Yes I can show you how.</p>
<p>I am gonna tell you how the original script and my modification work.</p>
<p>When you click a file name to upload,  files/images are sent to and stored in server, &#8220;pic&#8221; folder. During this storing process, you capture the file name by PHP, then send the name  back to browser, put it in the &#8220;src&#8221; attribute, that&#8217;s how you have image displayed on browser immediately.</p>
<p>But, you have to resize the image to make it look nice and neat on browser, right? Therefore, before sending the file name back to browser, you have to resize the original image with PHP and rename with key word &#8220;thumb&#8221; attached to the original name, then store the thumb image in the same folder with original image. There u have the thumb now.</p>
<p>To remove, during storing and resizing process, you send the id or the name of original image to browser and store it in JavaScript variable or in one of the element&#8217;s attributes, its your choice. So when u click remove link, you will get the name which was stored in browser, send to server, this is when server know what file name you want to delete. Meanwhile, in your Javascript code, put a snippet to hide/remove the link element and image element from browser view.</p>
<p>Hope that makes sense. Anyway, if it&#8217;s too hard to figure out, you can contact me at <a href="mailto:craigcosmo@gmail.com">craigcosmo@gmail.com</a> to get the script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Selina</title>
		<link>http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html/comment-page-1#comment-7007</link>
		<dc:creator>Selina</dc:creator>
		<pubDate>Wed, 30 Jun 2010 09:26:52 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html#comment-7007</guid>
		<description>Hi Craig,

Is there any way you can share how you were able to implement the thumbnail and remove features? I tried it out, and it looks awesome! 

Thanks,
Selina</description>
		<content:encoded><![CDATA[<p>Hi Craig,</p>
<p>Is there any way you can share how you were able to implement the thumbnail and remove features? I tried it out, and it looks awesome! </p>
<p>Thanks,<br />
Selina</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: web designer</title>
		<link>http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html/comment-page-1#comment-6841</link>
		<dc:creator>web designer</dc:creator>
		<pubDate>Sun, 30 May 2010 08:27:21 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html#comment-6841</guid>
		<description>very nice job,  some pics resize it will be very useful,  craig&#039;s work is well done</description>
		<content:encoded><![CDATA[<p>very nice job,  some pics resize it will be very useful,  craig&#8217;s work is well done</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: miky</title>
		<link>http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html/comment-page-1#comment-6680</link>
		<dc:creator>miky</dc:creator>
		<pubDate>Thu, 13 May 2010 23:29:10 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html#comment-6680</guid>
		<description>Very nice !
for craig, maybe you can share to us, your code.
http://www.diepbachduong.com/index.php/play/img</description>
		<content:encoded><![CDATA[<p>Very nice !<br />
for craig, maybe you can share to us, your code.<br />
<a href="http://www.diepbachduong.com/index.php/play/img" rel="nofollow">http://www.diepbachduong.com/index.php/play/img</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: craig</title>
		<link>http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html/comment-page-1#comment-6599</link>
		<dc:creator>craig</dc:creator>
		<pubDate>Wed, 05 May 2010 03:20:16 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html#comment-6599</guid>
		<description>I got the thumbnail to display and remove image function. Check it out at

http://www.diepbachduong.com/index.php/play/img</description>
		<content:encoded><![CDATA[<p>I got the thumbnail to display and remove image function. Check it out at</p>
<p><a href="http://www.diepbachduong.com/index.php/play/img" rel="nofollow">http://www.diepbachduong.com/index.php/play/img</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nixpi</title>
		<link>http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html/comment-page-1#comment-4016</link>
		<dc:creator>nixpi</dc:creator>
		<pubDate>Wed, 25 Nov 2009 01:50:49 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html#comment-4016</guid>
		<description>I find a new site support upload to 16 mirror (rapidshare, megaupload, mediafire, hotfile, zshare ...) by 1 click. Try it at http://nixpi.com/120</description>
		<content:encoded><![CDATA[<p>I find a new site support upload to 16 mirror (rapidshare, megaupload, mediafire, hotfile, zshare &#8230;) by 1 click. Try it at <a href="http://nixpi.com/120" rel="nofollow">http://nixpi.com/120</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: free style</title>
		<link>http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html/comment-page-1#comment-1883</link>
		<dc:creator>free style</dc:creator>
		<pubDate>Sat, 29 Aug 2009 02:00:51 +0000</pubDate>
		<guid isPermaLink="false">http://cool-javascripts.com/jquery/jquery-ajax-file-upload.html#comment-1883</guid>
		<description>good, ths</description>
		<content:encoded><![CDATA[<p>good, ths</p>
]]></content:encoded>
	</item>
</channel>
</rss>

