<?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: Laziest image resize in PHP</title>
	<atom:link href="http://www.phpied.com/laziest-image-resize-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpied.com/laziest-image-resize-in-php/</link>
	<description>Stoyan&#039;s blog about &#60;a href=&#34;/category/xhtml&#34; class=&#34;tag-minor&#34;&#62;(x)html(5)&#60;/a&#62;, &#60;a href=&#34;/category/ajax&#34; class=&#34;tag-major&#34;&#62;ajax&#60;/a&#62;, &#60;a href=&#34;/category/bookmarklets&#34; class=&#34;tag-major&#34;&#62;bookmarklets&#60;/a&#62;, &#60;a href=&#34;/category/browsers&#34; class=&#34;tag-minor&#34;&#62;browsers&#60;/a&#62;, &#60;a href=&#34;/category/css&#34; class=&#34;tag-normal&#34;&#62;css&#60;/a&#62;, &#60;a href=&#34;/category/firebug&#34; class=&#34;tag-minor&#34;&#62;firebug&#60;/a&#62;, &#60;a href=&#34;/category/javascript&#34; class=&#34;tag-numero-uno&#34;&#62;javascript&#60;/a&#62;, &#60;a href=&#34;/category/json&#34; class=&#34;tag-normal&#34;&#62;json&#60;/a&#62;, &#60;a href=&#34;/category/mdb2&#34; class=&#34;tag-minor&#34;&#62;mdb2&#60;/a&#62;, &#60;a href=&#34;/category/mysql&#34; class=&#34;tag-normal&#34;&#62;mysql&#60;/a&#62;, &#60;a href=&#34;/category/pear&#34; class=&#34;tag-numero-uno&#34;&#62;pear&#60;/a&#62;, &#60;a href=&#34;/category/performance&#34; class=&#34;tag-major&#34;&#62;performance&#60;/a&#62;, &#60;a href=&#34;/category/php&#34; class=&#34;tag-numero-uno&#34;&#62;php&#60;/a&#62;, &#60;a href=&#34;/category/phpbb&#34; class=&#34;tag-major&#34;&#62;phpbb&#60;/a&#62;, &#60;a href=&#34;/category/tools&#34; class=&#34;tag-normal&#34;&#62;tools&#60;/a&#62;, &#60;a href=&#34;/category/yslow&#34; class=&#34;tag-minor&#34;&#62;yslow&#60;/a&#62;, &#60;a href=&#34;/category/yui&#34; class=&#34;tag-normal&#34;&#62;yui&#60;/a&#62;, &#60;a href=&#34;/category/writing&#34; class=&#34;tag-minor&#34;&#62;writing&#60;/a&#62;, &#60;a href=&#34;/category/music&#34; class=&#34;tag-major&#34;&#62;music&#60;/a&#62;,... &#60;a href=&#34;/category/life-and-everything&#34; class=&#34;tag-normal&#34;&#62;life and everything&#60;/a&#62;.</description>
	<lastBuildDate>Sat, 11 Feb 2012 14:07:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: fhgjuyyh</title>
		<link>http://www.phpied.com/laziest-image-resize-in-php/#comment-77943</link>
		<dc:creator>fhgjuyyh</dc:creator>
		<pubDate>Wed, 15 Jun 2011 10:36:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/laziest-image-resize-in-php/#comment-77943</guid>
		<description>horrible</description>
		<content:encoded><![CDATA[<p>horrible</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mayur</title>
		<link>http://www.phpied.com/laziest-image-resize-in-php/#comment-74139</link>
		<dc:creator>Mayur</dc:creator>
		<pubDate>Fri, 01 Oct 2010 10:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/laziest-image-resize-in-php/#comment-74139</guid>
		<description>Ok, how to use this if the image names are coming out of database through a while loop? Thats how i am displaying images and thats where i need to resize the images.</description>
		<content:encoded><![CDATA[<p>Ok, how to use this if the image names are coming out of database through a while loop? Thats how i am displaying images and thats where i need to resize the images.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.phpied.com/laziest-image-resize-in-php/#comment-71677</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sun, 25 Oct 2009 02:01:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/laziest-image-resize-in-php/#comment-71677</guid>
		<description>Wow, this is so simple! You just saved me an hour. Thanks!</description>
		<content:encoded><![CDATA[<p>Wow, this is so simple! You just saved me an hour. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://www.phpied.com/laziest-image-resize-in-php/#comment-71565</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Sat, 03 Oct 2009 22:46:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/laziest-image-resize-in-php/#comment-71565</guid>
		<description>I am getting the below error

Fatal error: Call to undefined method PEAR_Error::load() in /home/knowtho2/public_html/new1/photos/upload_file.php on line 41

code : $i-&gt;load(&#039;test.jpg&#039;);

Am I missing any pear or Image libraries?</description>
		<content:encoded><![CDATA[<p>I am getting the below error</p>
<p>Fatal error: Call to undefined method PEAR_Error::load() in /home/knowtho2/public_html/new1/photos/upload_file.php on line 41</p>
<p>code : $i-&gt;load(&#8216;test.jpg&#8217;);</p>
<p>Am I missing any pear or Image libraries?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George P.</title>
		<link>http://www.phpied.com/laziest-image-resize-in-php/#comment-70514</link>
		<dc:creator>George P.</dc:creator>
		<pubDate>Fri, 06 Mar 2009 02:04:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/laziest-image-resize-in-php/#comment-70514</guid>
		<description>I was googl&#039;ing and found the same Digg discussion you were talking about - and the first thing that came to my mind was &#039;doesn&#039;t PEAR do this?&#039;... and then I stumbled on this post :)</description>
		<content:encoded><![CDATA[<p>I was googl&#8217;ing and found the same Digg discussion you were talking about &#8211; and the first thing that came to my mind was &#8216;doesn&#8217;t PEAR do this?&#8217;&#8230; and then I stumbled on this post <img src='http://www.phpied.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joey</title>
		<link>http://www.phpied.com/laziest-image-resize-in-php/#comment-70116</link>
		<dc:creator>joey</dc:creator>
		<pubDate>Mon, 12 Jan 2009 15:33:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/laziest-image-resize-in-php/#comment-70116</guid>
		<description>Nice code lines I myself use exactley the same method! PEAR is great but if you like OO programming check out Zend Framework! (http://framework.zend.com/) It is a superb collection of classes and I risk that is better than PEAR.

And Jim: That&#039;s cool to provide such service but when it comes to sensitive data you cannot really afford to outsource your image data processing. On the other hand resizing a picture (once at initial processing/adding to database etc) should not raise such a big CPU load. Taking that these libraryies are single threaded and a really lot of servers are multi-cored and users are resource limited if should not be a risk.
So I do not think it is a good idea to outsource image resize jobs. The optimal solution is still making your own cache of resized images and store image information in database.</description>
		<content:encoded><![CDATA[<p>Nice code lines I myself use exactley the same method! PEAR is great but if you like OO programming check out Zend Framework! (<a href="http://framework.zend.com/" rel="nofollow">http://framework.zend.com/</a>) It is a superb collection of classes and I risk that is better than PEAR.</p>
<p>And Jim: That&#8217;s cool to provide such service but when it comes to sensitive data you cannot really afford to outsource your image data processing. On the other hand resizing a picture (once at initial processing/adding to database etc) should not raise such a big CPU load. Taking that these libraryies are single threaded and a really lot of servers are multi-cored and users are resource limited if should not be a risk.<br />
So I do not think it is a good idea to outsource image resize jobs. The optimal solution is still making your own cache of resized images and store image information in database.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: www.redips.net &#124; Resize images with PHP script</title>
		<link>http://www.phpied.com/laziest-image-resize-in-php/#comment-69985</link>
		<dc:creator>www.redips.net &#124; Resize images with PHP script</dc:creator>
		<pubDate>Fri, 07 Nov 2008 10:39:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/laziest-image-resize-in-php/#comment-69985</guid>
		<description>Nice &amp; short script ... but
if you need simple PHP script to resize many images at once from command line, I have one. I also used ImageMagick tools, so PHP script will work without GD library. Hope this will help ...</description>
		<content:encoded><![CDATA[<p>Nice &amp; short script &#8230; but<br />
if you need simple PHP script to resize many images at once from command line, I have one. I also used ImageMagick tools, so PHP script will work without GD library. Hope this will help &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://www.phpied.com/laziest-image-resize-in-php/#comment-69737</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Thu, 17 Jul 2008 15:39:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/laziest-image-resize-in-php/#comment-69737</guid>
		<description>There is no need to host CPU-intensive thumbnailing scripts like this on your webserver anymore. Instead, you can use a specialized service for remote, on-demand image manipulation like &lt;a href=&quot;http://steadyoffload.com/thumbnail-problem&quot; rel=&quot;nofollow&quot;&gt;SteadyOffload&lt;/a&gt;.

All you have to do is use a custom HTML attribute called “xmanip” with the img tag. This will deliver the thumbnail from one of the globally scattered cache servers:

&lt;img srcx=”image.jpg” xmanip=”RescaleWidth 130″ /&gt;

So much easier than all the hassle with GD or ImageMagick! Moreover, this reduces the CPU load of your webserver and saves some bandwidth.</description>
		<content:encoded><![CDATA[<p>There is no need to host CPU-intensive thumbnailing scripts like this on your webserver anymore. Instead, you can use a specialized service for remote, on-demand image manipulation like <a href="http://steadyoffload.com/thumbnail-problem" rel="nofollow">SteadyOffload</a>.</p>
<p>All you have to do is use a custom HTML attribute called “xmanip” with the img tag. This will deliver the thumbnail from one of the globally scattered cache servers:</p>
<p>&lt;img srcx=”image.jpg” xmanip=”RescaleWidth 130″ /&gt;</p>
<p>So much easier than all the hassle with GD or ImageMagick! Moreover, this reduces the CPU load of your webserver and saves some bandwidth.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: InstaHippo &#187; Image Resize</title>
		<link>http://www.phpied.com/laziest-image-resize-in-php/#comment-68211</link>
		<dc:creator>InstaHippo &#187; Image Resize</dc:creator>
		<pubDate>Sun, 11 May 2008 13:46:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/laziest-image-resize-in-php/#comment-68211</guid>
		<description>[...] In addition, the Image_Transform library offers diffferent ways (to skin the old cat) to resize an image - by given pixel value, only on the X axis, on Y, scalling in percentage and so on. And, of course, the library can do much more than resizing, as you can see in the API docs.4 [...]</description>
		<content:encoded><![CDATA[<p>[...] In addition, the Image_Transform library offers diffferent ways (to skin the old cat) to resize an image &#8211; by given pixel value, only on the X axis, on Y, scalling in percentage and so on. And, of course, the library can do much more than resizing, as you can see in the API docs.4 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: a tvorog</title>
		<link>http://www.phpied.com/laziest-image-resize-in-php/#comment-63817</link>
		<dc:creator>a tvorog</dc:creator>
		<pubDate>Sat, 23 Feb 2008 21:56:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/laziest-image-resize-in-php/#comment-63817</guid>
		<description>Sorry for flood.
I fixed my problem.
I had to just to change all the path in icludes.</description>
		<content:encoded><![CDATA[<p>Sorry for flood.<br />
I fixed my problem.<br />
I had to just to change all the path in icludes.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

