<?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"
	>
<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's blog about &#60;a href="/category/xhtml" class="tag-minor"&#62;(x)html&#60;/a&#62;, &#60;a href="/category/ajax" class="tag-major"&#62;ajax&#60;/a&#62;, &#60;a href="/category/bookmarklets" class="tag-major"&#62;bookmarklets&#60;/a&#62;, &#60;a href="/category/browsers" class="tag-minor"&#62;browsers&#60;/a&#62;, &#60;a href="/category/css" class="tag-normal"&#62;css&#60;/a&#62;, &#60;a href="/category/firebug" class="tag-minor"&#62;firebug&#60;/a&#62;, &#60;a href="/category/javascript" class="tag-numero-uno"&#62;javascript&#60;/a&#62;, &#60;a href="/category/json" class="tag-normal"&#62;json&#60;/a&#62;, &#60;a href="/category/mdb2" class="tag-minor"&#62;mdb2&#60;/a&#62;, &#60;a href="/category/mysql" class="tag-normal"&#62;mysql&#60;/a&#62;, &#60;a href="/category/pear" class="tag-numero-uno"&#62;pear&#60;/a&#62;, &#60;a href="/category/performance" class="tag-major"&#62;performance&#60;/a&#62;, &#60;a href="/category/php" class="tag-numero-uno"&#62;php&#60;/a&#62;, &#60;a href="/category/phpbb" class="tag-major"&#62;phpbb&#60;/a&#62;, &#60;a href="/category/tools" class="tag-normal"&#62;tools&#60;/a&#62;, &#60;a href="/category/yslow" class="tag-minor"&#62;yslow&#60;/a&#62;, &#60;a href="/category/yui" class="tag-normal"&#62;yui&#60;/a&#62;, &#60;a href="/category/writing" class="tag-minor"&#62;writing&#60;/a&#62;, &#60;a href="/category/music" class="tag-major"&#62;music&#60;/a&#62;,... &#60;a href="/category/life-and-everything" class="tag-normal"&#62;life and everything&#60;/a&#62;.</description>
	<pubDate>Thu, 09 Sep 2010 06:07:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<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-&#62;load('test.jpg');

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(&#8217;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'ing and found the same Digg discussion you were talking about - and the first thing that came to my mind was 'doesn't PEAR do this?'... 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 - 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'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! (http://framework.zend.com/) 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 &#38; 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="http://steadyoffload.com/thumbnail-problem" rel="nofollow"&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:

&#60;img srcx=”image.jpg” xmanip=”RescaleWidth 130″ /&#62;

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 - 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>
	<item>
		<title>By: a tvorog</title>
		<link>http://www.phpied.com/laziest-image-resize-in-php/#comment-63816</link>
		<dc:creator>a tvorog</dc:creator>
		<pubDate>Sat, 23 Feb 2008 21:47:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/laziest-image-resize-in-php/#comment-63816</guid>
		<description>Hi.
Sorry for the perheps dumb question, but I'm really having troubles with using PEAR libraries since I'm not good at all at OOP.
So when trying to use Image_Transform it tells me "Image library not supported... aborting".
Could you explain how to fix it?

I suppose that the problem is in the way the PEAR is installed at my web-site.
I don't know if it is installed at my host, so at some foums I was suggested just to place it in a local folder at my web-site and just include it to my pages.
The PEAR extantions I 'plug' in the same way.
Do you think there's any better solution?</description>
		<content:encoded><![CDATA[<p>Hi.<br />
Sorry for the perheps dumb question, but I&#8217;m really having troubles with using PEAR libraries since I&#8217;m not good at all at OOP.<br />
So when trying to use Image_Transform it tells me &#8220;Image library not supported&#8230; aborting&#8221;.<br />
Could you explain how to fix it?</p>
<p>I suppose that the problem is in the way the PEAR is installed at my web-site.<br />
I don&#8217;t know if it is installed at my host, so at some foums I was suggested just to place it in a local folder at my web-site and just include it to my pages.<br />
The PEAR extantions I &#8216;plug&#8217; in the same way.<br />
Do you think there&#8217;s any better solution?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pol Clause</title>
		<link>http://www.phpied.com/laziest-image-resize-in-php/#comment-62977</link>
		<dc:creator>Pol Clause</dc:creator>
		<pubDate>Wed, 31 Oct 2007 15:31:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/laziest-image-resize-in-php/#comment-62977</guid>
		<description>I'm using very simply program picture resizer, and I have not any problem.</description>
		<content:encoded><![CDATA[<p>I&#8217;m using very simply program picture resizer, and I have not any problem.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
