<?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: PHP Image Resize Script</title>
	<atom:link href="http://tech.mikelopez.info/2006/03/02/php-image-resize-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.mikelopez.info/2006/03/02/php-image-resize-script/</link>
	<description>Another blog by Mike Lopez</description>
	<lastBuildDate>Mon, 15 Mar 2010 22:05:15 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mike Lopez</title>
		<link>http://tech.mikelopez.info/2006/03/02/php-image-resize-script/comment-page-5/#comment-113272</link>
		<dc:creator>Mike Lopez</dc:creator>
		<pubDate>Mon, 15 Mar 2010 22:05:15 +0000</pubDate>
		<guid isPermaLink="false">http://programming-linux-apache-mysql-php.mikelopez.info/2006/03/02/php-image-resize-script/#comment-113272</guid>
		<description>Nope, it can&#039;t do that.</description>
		<content:encoded><![CDATA[<p>Nope, it can&#8217;t do that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laurie</title>
		<link>http://tech.mikelopez.info/2006/03/02/php-image-resize-script/comment-page-5/#comment-113271</link>
		<dc:creator>Laurie</dc:creator>
		<pubDate>Thu, 11 Mar 2010 21:50:35 +0000</pubDate>
		<guid isPermaLink="false">http://programming-linux-apache-mysql-php.mikelopez.info/2006/03/02/php-image-resize-script/#comment-113271</guid>
		<description>Great script. Wondering if this script can take an image say 200 pixels wide x 100 pixels high....then capture part of that image to create a thumbnail 50 x 50 without compressing image.....so the end result would be a partial view of the original image. hope that makes sense.
If this script currently does not do this, can you let me know if you would interested in creating it.
thanks 
Laurie</description>
		<content:encoded><![CDATA[<p>Great script. Wondering if this script can take an image say 200 pixels wide x 100 pixels high&#8230;.then capture part of that image to create a thumbnail 50 x 50 without compressing image&#8230;..so the end result would be a partial view of the original image. hope that makes sense.<br />
If this script currently does not do this, can you let me know if you would interested in creating it.<br />
thanks<br />
Laurie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Catherine</title>
		<link>http://tech.mikelopez.info/2006/03/02/php-image-resize-script/comment-page-5/#comment-113257</link>
		<dc:creator>Catherine</dc:creator>
		<pubDate>Wed, 13 Jan 2010 17:54:29 +0000</pubDate>
		<guid isPermaLink="false">http://programming-linux-apache-mysql-php.mikelopez.info/2006/03/02/php-image-resize-script/#comment-113257</guid>
		<description>Hi,
I am trying to use the code for a number of images instead of one image. something like this:

&lt;img src=&quot;imgsize.php?percent=50&amp;img=&quot;/&gt;

but I am not sure how to &#039;word&#039; the img= part of the code.
It is supposed to be an echo of the larger image of choice ($screen) from the blog post.

(this code is written into the php of the index)

thanks
Catherine</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I am trying to use the code for a number of images instead of one image. something like this:</p>
<p>&lt;img src=&quot;imgsize.php?percent=50&amp;img=&#8221;/&gt;</p>
<p>but I am not sure how to &#8216;word&#8217; the img= part of the code.<br />
It is supposed to be an echo of the larger image of choice ($screen) from the blog post.</p>
<p>(this code is written into the php of the index)</p>
<p>thanks<br />
Catherine</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Lopez</title>
		<link>http://tech.mikelopez.info/2006/03/02/php-image-resize-script/comment-page-5/#comment-113246</link>
		<dc:creator>Mike Lopez</dc:creator>
		<pubDate>Wed, 14 Oct 2009 19:18:49 +0000</pubDate>
		<guid isPermaLink="false">http://programming-linux-apache-mysql-php.mikelopez.info/2006/03/02/php-image-resize-script/#comment-113246</guid>
		<description>You can modify the script so that you position the newly created resized image on another image which contains the background color you want. Can&#039;t go into details but I think there are some examples of it in the image functions part of the PHP manual.</description>
		<content:encoded><![CDATA[<p>You can modify the script so that you position the newly created resized image on another image which contains the background color you want. Can&#8217;t go into details but I think there are some examples of it in the image functions part of the PHP manual.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amjath</title>
		<link>http://tech.mikelopez.info/2006/03/02/php-image-resize-script/comment-page-5/#comment-113245</link>
		<dc:creator>Amjath</dc:creator>
		<pubDate>Wed, 14 Oct 2009 07:45:35 +0000</pubDate>
		<guid isPermaLink="false">http://programming-linux-apache-mysql-php.mikelopez.info/2006/03/02/php-image-resize-script/#comment-113245</guid>
		<description>Hi nice script... but the image stretches when both the height and width is given. I need the image to keep the dimension and a background color should fill the space if the width is less. is there any script available?

Regards
Amjath</description>
		<content:encoded><![CDATA[<p>Hi nice script&#8230; but the image stretches when both the height and width is given. I need the image to keep the dimension and a background color should fill the space if the width is less. is there any script available?</p>
<p>Regards<br />
Amjath</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Net Toolbox - John</title>
		<link>http://tech.mikelopez.info/2006/03/02/php-image-resize-script/comment-page-5/#comment-113244</link>
		<dc:creator>Net Toolbox - John</dc:creator>
		<pubDate>Tue, 15 Sep 2009 23:28:37 +0000</pubDate>
		<guid isPermaLink="false">http://programming-linux-apache-mysql-php.mikelopez.info/2006/03/02/php-image-resize-script/#comment-113244</guid>
		<description>Very nice feature, easy to use!

Do you also have a script that just stores an uploaded file resized?

Thanks!</description>
		<content:encoded><![CDATA[<p>Very nice feature, easy to use!</p>
<p>Do you also have a script that just stores an uploaded file resized?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Food Recalls</title>
		<link>http://tech.mikelopez.info/2006/03/02/php-image-resize-script/comment-page-5/#comment-113243</link>
		<dc:creator>Food Recalls</dc:creator>
		<pubDate>Wed, 09 Sep 2009 13:36:57 +0000</pubDate>
		<guid isPermaLink="false">http://programming-linux-apache-mysql-php.mikelopez.info/2006/03/02/php-image-resize-script/#comment-113243</guid>
		<description>H I had the same problem as in post 111:

&quot;The only problem I found is that it doesn’t show pictures with spaces (or %20) in the file name. Is there a solution for this issue?&quot;

and the suggestion in post 112 of using urldecode() also did not work for me - nor did rawurldecode  or urlencode or anything else, untll I noticed that if you just paste in your url to the file as $img =   then it works - seems that in some way grabbing it via GET interferes - though it shouldn&#039;t.

easy solution was to use str_replace() in the file to replace all empty spaces in $_GET[&#039;img&#039;]  with&quot; %20&quot; and then it worked fine.</description>
		<content:encoded><![CDATA[<p>H I had the same problem as in post 111:</p>
<p>&#8220;The only problem I found is that it doesn’t show pictures with spaces (or %20) in the file name. Is there a solution for this issue?&#8221;</p>
<p>and the suggestion in post 112 of using urldecode() also did not work for me &#8211; nor did rawurldecode  or urlencode or anything else, untll I noticed that if you just paste in your url to the file as $img =   then it works &#8211; seems that in some way grabbing it via GET interferes &#8211; though it shouldn&#8217;t.</p>
<p>easy solution was to use str_replace() in the file to replace all empty spaces in $_GET['img']  with&#8221; %20&#8243; and then it worked fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sdf</title>
		<link>http://tech.mikelopez.info/2006/03/02/php-image-resize-script/comment-page-5/#comment-113242</link>
		<dc:creator>sdf</dc:creator>
		<pubDate>Mon, 31 Aug 2009 08:50:48 +0000</pubDate>
		<guid isPermaLink="false">http://programming-linux-apache-mysql-php.mikelopez.info/2006/03/02/php-image-resize-script/#comment-113242</guid>
		<description>To work, i don’t have to create a folder with CHMOD 777, it’s not necessary (i didn’t do it and it work fine, by the way i don’t know where image are saved on the fly jejeee… i saw other script using a folder to save the resized images)

Thanks again Mike, I’ll be glad if you can leave a comment around what I’ve said about the folder that other scripts use for store the resized images.</description>
		<content:encoded><![CDATA[<p>To work, i don’t have to create a folder with CHMOD 777, it’s not necessary (i didn’t do it and it work fine, by the way i don’t know where image are saved on the fly jejeee… i saw other script using a folder to save the resized images)</p>
<p>Thanks again Mike, I’ll be glad if you can leave a comment around what I’ve said about the folder that other scripts use for store the resized images.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dangerb0y</title>
		<link>http://tech.mikelopez.info/2006/03/02/php-image-resize-script/comment-page-5/#comment-113241</link>
		<dc:creator>Dangerb0y</dc:creator>
		<pubDate>Fri, 28 Aug 2009 10:06:14 +0000</pubDate>
		<guid isPermaLink="false">http://programming-linux-apache-mysql-php.mikelopez.info/2006/03/02/php-image-resize-script/#comment-113241</guid>
		<description>Yeah, this script is really handy. Thanks Mike!

I am having some difficulty with it though... what I&#039;m trying to do is resize an image in a folder *outside* the root folder.

For example:
My site&#039;s root folder can be found at: http://www.fullcirclemagazine.co.za/
and at: /home/user/public_html/   &lt;-- public_html being the root.

What i need to do is use the resizing script on
an image file located at: /home/user/private_folder/image.jpg

is this possible?

Any help will be very much appreciated!!</description>
		<content:encoded><![CDATA[<p>Yeah, this script is really handy. Thanks Mike!</p>
<p>I am having some difficulty with it though&#8230; what I&#8217;m trying to do is resize an image in a folder *outside* the root folder.</p>
<p>For example:<br />
My site&#8217;s root folder can be found at: <a href="http://www.fullcirclemagazine.co.za/" rel="nofollow">http://www.fullcirclemagazine.co.za/</a><br />
and at: /home/user/public_html/   &lt;&#8211; public_html being the root.</p>
<p>What i need to do is use the resizing script on<br />
an image file located at: /home/user/private_folder/image.jpg</p>
<p>is this possible?</p>
<p>Any help will be very much appreciated!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://tech.mikelopez.info/2006/03/02/php-image-resize-script/comment-page-5/#comment-113240</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Thu, 27 Aug 2009 00:46:34 +0000</pubDate>
		<guid isPermaLink="false">http://programming-linux-apache-mysql-php.mikelopez.info/2006/03/02/php-image-resize-script/#comment-113240</guid>
		<description>I know it&#039;s been a while since you wrote this script Mike, but I still figured I should say thanks because it is tremendously helpful and useful!  Great work man.</description>
		<content:encoded><![CDATA[<p>I know it&#8217;s been a while since you wrote this script Mike, but I still figured I should say thanks because it is tremendously helpful and useful!  Great work man.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
