<?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: Image manipulation in Zend Framework using PHP Thumbnailer Class v2.0</title>
	<atom:link href="http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/</link>
	<description>Exploring PHP, MySql, Javascript, jQuery, Zend Framework and more... from Bangladesh</description>
	<lastBuildDate>Sat, 20 Mar 2010 09:10:04 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Anis Ahmad</title>
		<link>http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/comment-page-1/#comment-3898</link>
		<dc:creator>Anis Ahmad</dc:creator>
		<pubDate>Tue, 16 Mar 2010 12:37:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/#comment-3898</guid>
		<description>@Shailesh

Hi Brother, 
I m not sure, but it seems you made a function private and trying to call it from another Controller.
If this is the reason and u need to use a function from outside of its class, you should make it public.</description>
		<content:encoded><![CDATA[<p>@Shailesh</p>
<p>Hi Brother,<br />
I m not sure, but it seems you made a function private and trying to call it from another Controller.<br />
If this is the reason and u need to use a function from outside of its class, you should make it public.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shailesh</title>
		<link>http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/comment-page-1/#comment-3897</link>
		<dc:creator>Shailesh</dc:creator>
		<pubDate>Tue, 16 Mar 2010 06:46:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/#comment-3897</guid>
		<description>Hi, i have tried but it giving me error like this...
Fatal error: Call to private Model_DbTable_Thumbnail::__construct() from context &#039;Users_AccountController&#039; in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\shailesh\lyrics\application\modules\users\controllers\AccountController.php on line 427</description>
		<content:encoded><![CDATA[<p>Hi, i have tried but it giving me error like this&#8230;<br />
Fatal error: Call to private Model_DbTable_Thumbnail::__construct() from context &#8216;Users_AccountController&#8217; in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\shailesh\lyrics\application\modules\users\controllers\AccountController.php on line 427</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hendrik</title>
		<link>http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/comment-page-1/#comment-3014</link>
		<dc:creator>Hendrik</dc:creator>
		<pubDate>Tue, 20 Oct 2009 07:31:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/#comment-3014</guid>
		<description>I just copied all files to /library/ZendX, renamed the base class to PhpThumbFactory.php and did a require once in my thumbnail view helper require_once &#039;/ZendX/PhpThumb/PhpThumbFactory.php&#039;;

Then I do $thumb = ZendX_PhpThumbFactory::create($image);

works pretty good for me...</description>
		<content:encoded><![CDATA[<p>I just copied all files to /library/ZendX, renamed the base class to PhpThumbFactory.php and did a require once in my thumbnail view helper require_once &#8216;/ZendX/PhpThumb/PhpThumbFactory.php&#8217;;</p>
<p>Then I do $thumb = ZendX_PhpThumbFactory::create($image);</p>
<p>works pretty good for me&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giedrius</title>
		<link>http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/comment-page-1/#comment-2986</link>
		<dc:creator>Giedrius</dc:creator>
		<pubDate>Mon, 28 Sep 2009 19:50:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/#comment-2986</guid>
		<description>Hi, 

I&#039;m trying to put all stuff in library/PhpThumb directory, but I can&#039;t load clases... I have changed classes names to:

PhpThumb_GdThumb (extends PhpThumb_ThumbBase)
PhpThumb_PhpThumb
PhpThumb_ThumbBase

plugin directory to: ThumbPlugins

plugin name to: 
PhpThumb_ThumbPlugins_GdReflectionLib

Also I&#039;ve changed:
all file names from *.inc.php to *.php and the THUMBLIB_PLUGIN_PATH to /ThumbPlugins/

require_once option from:
require_once THUMBLIB_BASE_PATH . &#039;/*.php&#039;; (for example: ThumBase.php)
to:
require_once THUMBLIB_BASE_PATH . &#039;*.php&#039;;


Can anybody help me? It would be very nice, if anybody will tell me a solution (and maybe if possible would send files by email..)</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>I&#8217;m trying to put all stuff in library/PhpThumb directory, but I can&#8217;t load clases&#8230; I have changed classes names to:</p>
<p>PhpThumb_GdThumb (extends PhpThumb_ThumbBase)<br />
PhpThumb_PhpThumb<br />
PhpThumb_ThumbBase</p>
<p>plugin directory to: ThumbPlugins</p>
<p>plugin name to:<br />
PhpThumb_ThumbPlugins_GdReflectionLib</p>
<p>Also I&#8217;ve changed:<br />
all file names from *.inc.php to *.php and the THUMBLIB_PLUGIN_PATH to /ThumbPlugins/</p>
<p>require_once option from:<br />
require_once THUMBLIB_BASE_PATH . &#8216;/*.php&#8217;; (for example: ThumBase.php)<br />
to:<br />
require_once THUMBLIB_BASE_PATH . &#8216;*.php&#8217;;</p>
<p>Can anybody help me? It would be very nice, if anybody will tell me a solution (and maybe if possible would send files by email..)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ludwig</title>
		<link>http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/comment-page-1/#comment-2969</link>
		<dc:creator>Ludwig</dc:creator>
		<pubDate>Mon, 21 Sep 2009 13:54:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/#comment-2969</guid>
		<description>Maybe you can use a framework like CodeIgniter who as this feature instead of this crappy ZF</description>
		<content:encoded><![CDATA[<p>Maybe you can use a framework like CodeIgniter who as this feature instead of this crappy ZF</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek</title>
		<link>http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/comment-page-1/#comment-2885</link>
		<dc:creator>Derek</dc:creator>
		<pubDate>Mon, 03 Aug 2009 13:07:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/#comment-2885</guid>
		<description>Great tutorial!  Short and sweet.

The latest version of PHPThumb (3.0) is at:
http://phpthumb.gxdlabs.com/

The interface to GdThumb is slightly different, for example:

private function _createThumbnail($sourcePath, $destPath, $w, $h, $q = 100) {
	$thumb = new PhpThumb_GdThumb($sourcePath);
	$thumb-&gt;resize($w, $h);
		$thumb-&gt;setOptions(array(&#039;jpegQuality&#039; =&gt; 80));
	$thumb-&gt;save($destPath, &#039;JPG&#039;);
}

Like someone suggested, I thumbnail in the model.  I put the PHP Thumb classes in library/PhpThumb and renamed the classes for autoloading as you can see in the example above.</description>
		<content:encoded><![CDATA[<p>Great tutorial!  Short and sweet.</p>
<p>The latest version of PHPThumb (3.0) is at:<br />
<a href="http://phpthumb.gxdlabs.com/" rel="nofollow">http://phpthumb.gxdlabs.com/</a></p>
<p>The interface to GdThumb is slightly different, for example:</p>
<p>private function _createThumbnail($sourcePath, $destPath, $w, $h, $q = 100) {<br />
	$thumb = new PhpThumb_GdThumb($sourcePath);<br />
	$thumb-&gt;resize($w, $h);<br />
		$thumb-&gt;setOptions(array(&#8217;jpegQuality&#8217; =&gt; 80));<br />
	$thumb-&gt;save($destPath, &#8216;JPG&#8217;);<br />
}</p>
<p>Like someone suggested, I thumbnail in the model.  I put the PHP Thumb classes in library/PhpThumb and renamed the classes for autoloading as you can see in the example above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: [PHP][ZEND]How to resize Image in Zend using PHP Thumbnailer Class v2.0</title>
		<link>http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/comment-page-1/#comment-2881</link>
		<dc:creator>[PHP][ZEND]How to resize Image in Zend using PHP Thumbnailer Class v2.0</dc:creator>
		<pubDate>Tue, 28 Jul 2009 08:58:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/#comment-2881</guid>
		<description>[...] to this awesome post i manage to resized the images uploaded to the database automatically using PHP Thumbnailer Class [...]</description>
		<content:encoded><![CDATA[<p>[...] to this awesome post i manage to resized the images uploaded to the database automatically using PHP Thumbnailer Class [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Image Manipulation in PHP &#124; JLoe.net</title>
		<link>http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/comment-page-1/#comment-2848</link>
		<dc:creator>Image Manipulation in PHP &#124; JLoe.net</dc:creator>
		<pubDate>Mon, 22 Jun 2009 08:49:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/#comment-2848</guid>
		<description>[...] issue then go for GD. And if you wish to make your development easier, you may be interested to use Thumbnail class by our fellow developer. But if you&#8217;re looking into ImageMagick I&#8217;m going to show you [...]</description>
		<content:encoded><![CDATA[<p>[...] issue then go for GD. And if you wish to make your development easier, you may be interested to use Thumbnail class by our fellow developer. But if you&#8217;re looking into ImageMagick I&#8217;m going to show you [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Razorblade</title>
		<link>http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/comment-page-1/#comment-2797</link>
		<dc:creator>Razorblade</dc:creator>
		<pubDate>Fri, 05 Jun 2009 11:52:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/#comment-2797</guid>
		<description>Don&#039;t worry, solved, it was caused by a wrong mime control, what for firefox is image/jpeg for ie is image/pjpeg.
Bye</description>
		<content:encoded><![CDATA[<p>Don&#8217;t worry, solved, it was caused by a wrong mime control, what for firefox is image/jpeg for ie is image/pjpeg.<br />
Bye</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Razorblade</title>
		<link>http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/comment-page-1/#comment-2796</link>
		<dc:creator>Razorblade</dc:creator>
		<pubDate>Fri, 05 Jun 2009 11:42:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/#comment-2796</guid>
		<description>Hi, 
I get an issue using Internet Explorer, both 6 and 7, thumbs are not created.
No problem with firefox, any advices?
Thanks</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I get an issue using Internet Explorer, both 6 and 7, thumbs are not created.<br />
No problem with firefox, any advices?<br />
Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
