<?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: CakePHP: upload and resize images</title>
	<atom:link href="http://www.bogdan-net.com/archives/24/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bogdan-net.com/archives/24</link>
	<description>Internet and Web Development</description>
	<lastBuildDate>Tue, 16 Feb 2010 11:25:28 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: kazi</title>
		<link>http://www.bogdan-net.com/archives/24/comment-page-1#comment-19640</link>
		<dc:creator>kazi</dc:creator>
		<pubDate>Thu, 29 Oct 2009 13:57:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.bogdan-net.com/archives/24#comment-19640</guid>
		<description>thank you for this great post!.Couple of changes that makes it working.

1. changing the controller name to add (already mentioned) and view would be add.ctx in my case.
2.in cakephp version 1.2 we have to change the upload command
?php echo $form-&gt;file(&#039;Image.name1&#039;, array(&#039;size&#039; =&gt; &#039;40&#039;))?&gt;

in view.

Image/name1 is not working in cake 1.2

and that it!</description>
		<content:encoded><![CDATA[<p>thank you for this great post!.Couple of changes that makes it working.</p>
<p>1. changing the controller name to add (already mentioned) and view would be add.ctx in my case.<br />
2.in cakephp version 1.2 we have to change the upload command<br />
?php echo $form-&gt;file(&#8217;Image.name1&#8242;, array(&#8217;size&#8217; =&gt; &#8216;40&#8242;))?&gt;</p>
<p>in view.</p>
<p>Image/name1 is not working in cake 1.2</p>
<p>and that it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Donnieboy</title>
		<link>http://www.bogdan-net.com/archives/24/comment-page-1#comment-19281</link>
		<dc:creator>Donnieboy</dc:creator>
		<pubDate>Sun, 11 Oct 2009 23:41:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.bogdan-net.com/archives/24#comment-19281</guid>
		<description>Just wanted to drop you a line to say, I enjoy reading your site.  I thought about starting a blog myself but don&#039;t have the time.
Oh well maybe one day.... &lt;a HREF=&quot;http://fedora-commons.org/confluence/display/~susanbrooks&quot; rel=&quot;nofollow&quot;&gt; :)&lt;/A&gt;</description>
		<content:encoded><![CDATA[<p>Just wanted to drop you a line to say, I enjoy reading your site.  I thought about starting a blog myself but don&#8217;t have the time.<br />
Oh well maybe one day&#8230;. <a HREF="http://fedora-commons.org/confluence/display/~susanbrooks" rel="nofollow"> <img src='http://www.bogdan-net.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mcdonalds coupons</title>
		<link>http://www.bogdan-net.com/archives/24/comment-page-1#comment-17834</link>
		<dc:creator>mcdonalds coupons</dc:creator>
		<pubDate>Sun, 13 Sep 2009 23:23:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.bogdan-net.com/archives/24#comment-17834</guid>
		<description>Thank you very much for that imformative entry.</description>
		<content:encoded><![CDATA[<p>Thank you very much for that imformative entry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JJ</title>
		<link>http://www.bogdan-net.com/archives/24/comment-page-1#comment-2256</link>
		<dc:creator>JJ</dc:creator>
		<pubDate>Fri, 08 Feb 2008 00:52:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.bogdan-net.com/archives/24#comment-2256</guid>
		<description>function getFileExtension($str) {
  return strrchr($str, &#039;.&#039;);
}</description>
		<content:encoded><![CDATA[<p>function getFileExtension($str) {<br />
  return strrchr($str, &#8216;.&#8217;);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lungu Bogdan</title>
		<link>http://www.bogdan-net.com/archives/24/comment-page-1#comment-2249</link>
		<dc:creator>Lungu Bogdan</dc:creator>
		<pubDate>Thu, 07 Feb 2008 18:18:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.bogdan-net.com/archives/24#comment-2249</guid>
		<description>Hi mishu, thanks for the comments, glad if the script above helped you in any way, as I get some time I will code a better way for uploading files with cakephp, this code is one year old and I have shamefully to admid that I haven&#039;t used cakephp for that long being caught with other projects developed in other frameworks. Soon I will start some bigger projects in cake so I will have stuff to write then.</description>
		<content:encoded><![CDATA[<p>Hi mishu, thanks for the comments, glad if the script above helped you in any way, as I get some time I will code a better way for uploading files with cakephp, this code is one year old and I have shamefully to admid that I haven&#8217;t used cakephp for that long being caught with other projects developed in other frameworks. Soon I will start some bigger projects in cake so I will have stuff to write then.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mishu</title>
		<link>http://www.bogdan-net.com/archives/24/comment-page-1#comment-2248</link>
		<dc:creator>mishu</dc:creator>
		<pubDate>Thu, 07 Feb 2008 17:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.bogdan-net.com/archives/24#comment-2248</guid>
		<description>I have managed to make this script to work with multiple file uploads javascript from http://the-stickman.com. and posted a comment here but some of my code got stripped in the proccess so here is an archive with files and readme. Download files from: http://www.doingtheartwork.com/multiple-file-upload-with-cakephp.zip 
unzip and read readme.txt. 

Bogdan: You can approve only this comment, would be less confusig for people.</description>
		<content:encoded><![CDATA[<p>I have managed to make this script to work with multiple file uploads javascript from <a href="http://the-stickman.com" rel="nofollow">http://the-stickman.com</a>. and posted a comment here but some of my code got stripped in the proccess so here is an archive with files and readme. Download files from: <a href="http://www.doingtheartwork.com/multiple-file-upload-with-cakephp.zip" rel="nofollow">http://www.doingtheartwork.com/multiple-file-upload-with-cakephp.zip</a><br />
unzip and read readme.txt. </p>
<p>Bogdan: You can approve only this comment, would be less confusig for people.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mishu</title>
		<link>http://www.bogdan-net.com/archives/24/comment-page-1#comment-2223</link>
		<dc:creator>mishu</dc:creator>
		<pubDate>Wed, 06 Feb 2008 14:17:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.bogdan-net.com/archives/24#comment-2223</guid>
		<description>Very nice script, thanks. One problem thought, it didn&#039;t function for me until I renamed upload.thtml to add.thtml. And here &quot;Now let&#039;s see the view that will show the input type file element and the form (app/views/controller_name/upload.thtml)&quot; controller_name should be images. Resulting strings: app/views/images/upload.thtml

PS: now it strikes me! I should have used http://localhost/cake/images/upload/ :)</description>
		<content:encoded><![CDATA[<p>Very nice script, thanks. One problem thought, it didn&#8217;t function for me until I renamed upload.thtml to add.thtml. And here &#8220;Now let&#8217;s see the view that will show the input type file element and the form (app/views/controller_name/upload.thtml)&#8221; controller_name should be images. Resulting strings: app/views/images/upload.thtml</p>
<p>PS: now it strikes me! I should have used <a href="http://localhost/cake/images/upload/" rel="nofollow">http://localhost/cake/images/upload/</a> <img src='http://www.bogdan-net.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blog Dot Php With cakePHP &#187; Полезные ссылки по cakePHP</title>
		<link>http://www.bogdan-net.com/archives/24/comment-page-1#comment-2066</link>
		<dc:creator>Blog Dot Php With cakePHP &#187; Полезные ссылки по cakePHP</dc:creator>
		<pubDate>Fri, 25 Jan 2008 19:50:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.bogdan-net.com/archives/24#comment-2066</guid>
		<description>[...] Загрузка картинки и изменение размера [...]</description>
		<content:encoded><![CDATA[<p>[...] Загрузка картинки и изменение размера [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lungu Bogdan</title>
		<link>http://www.bogdan-net.com/archives/24/comment-page-1#comment-1769</link>
		<dc:creator>Lungu Bogdan</dc:creator>
		<pubDate>Fri, 21 Dec 2007 15:54:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.bogdan-net.com/archives/24#comment-1769</guid>
		<description>GD is a library which need to be compiled with php, this library will help you to work and to manipulate images with php functions.
You can find more info about it here http://php.net/gd ; to see if it is installed use the phpinfo() function, which will give you details about the current php version and the libraries installed on the server.</description>
		<content:encoded><![CDATA[<p>GD is a library which need to be compiled with php, this library will help you to work and to manipulate images with php functions.<br />
You can find more info about it here <a href="http://php.net/gd" rel="nofollow">http://php.net/gd</a> ; to see if it is installed use the phpinfo() function, which will give you details about the current php version and the libraries installed on the server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: malik</title>
		<link>http://www.bogdan-net.com/archives/24/comment-page-1#comment-1768</link>
		<dc:creator>malik</dc:creator>
		<pubDate>Fri, 21 Dec 2007 15:45:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.bogdan-net.com/archives/24#comment-1768</guid>
		<description>thanks for the code, tried it but its giving me some errors.

you said: 
This script above need to have GD installed on the server.

what is GD exactly?

thanks</description>
		<content:encoded><![CDATA[<p>thanks for the code, tried it but its giving me some errors.</p>
<p>you said:<br />
This script above need to have GD installed on the server.</p>
<p>what is GD exactly?</p>
<p>thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
