<?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 for Gen X Design | Ian Selby</title>
	<atom:link href="http://www.gen-x-design.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gen-x-design.com</link>
	<description>All Things Web 2.0</description>
	<pubDate>Thu, 07 Aug 2008 18:58:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>Comment on PHP Thumbnailer Class v2.0 by Deezaz</title>
		<link>http://www.gen-x-design.com/projects/php-thumbnailer-class/#comment-6231</link>
		<dc:creator>Deezaz</dc:creator>
		<pubDate>Wed, 06 Aug 2008 12:39:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.gen-x-design.com/projects/php-thumbnailer-class-v20/#comment-6231</guid>
		<description>where do i get the 'thumbnail.inc.php' file? that you hae required in the thnb nail code??</description>
		<content:encoded><![CDATA[<p>where do i get the &#8216;thumbnail.inc.php&#8217; file? that you hae required in the thnb nail code??</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Thumbnailer Class v2.0 by +ve</title>
		<link>http://www.gen-x-design.com/projects/php-thumbnailer-class/#comment-6225</link>
		<dc:creator>+ve</dc:creator>
		<pubDate>Wed, 06 Aug 2008 04:37:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.gen-x-design.com/projects/php-thumbnailer-class-v20/#comment-6225</guid>
		<description>I have been trying to  include the php codes that you offered into my website 
resize(250,250);
$thumb-&#62;show();









?&#62;
but immediately I include another code or try to include it on another page so that it resizes the pictures and position  them where i want it, it gives me an error message(THIS IS THE ERROR ON MOZILLA FIREFOX http://localhost/thumbnailer/) THE CODES THAT I INCLUDED WAS JUST A DIV resize(250,250);
$thumb-&#62;show();









?&#62;</description>
		<content:encoded><![CDATA[<p>I have been trying to  include the php codes that you offered into my website<br />
resize(250,250);<br />
$thumb-&gt;show();</p>
<p>?&gt;<br />
but immediately I include another code or try to include it on another page so that it resizes the pictures and position  them where i want it, it gives me an error message(THIS IS THE ERROR ON MOZILLA FIREFOX <a href="http://localhost/thumbnailer/" rel="nofollow">http://localhost/thumbnailer/</a>) THE CODES THAT I INCLUDED WAS JUST A DIV resize(250,250);<br />
$thumb-&gt;show();</p>
<p>?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AtMail = Awesome (Open-Source Webmail) by Jimmy</title>
		<link>http://www.gen-x-design.com/archives/atmail-awesome-open-source-webmail/#comment-6224</link>
		<dc:creator>Jimmy</dc:creator>
		<pubDate>Wed, 06 Aug 2008 02:43:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.gen-x-design.com/archives/atmail-awesome-open-source-webmail/#comment-6224</guid>
		<description>Take a look at the commercial Atmail version, a good upgrade path from the open-source copy: http://atmail.com/</description>
		<content:encoded><![CDATA[<p>Take a look at the commercial Atmail version, a good upgrade path from the open-source copy: <a href="http://atmail.com/" rel="nofollow">http://atmail.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Thumbnailer Class v2.0 by Edwin Steenwinkel</title>
		<link>http://www.gen-x-design.com/projects/php-thumbnailer-class/#comment-6222</link>
		<dc:creator>Edwin Steenwinkel</dc:creator>
		<pubDate>Tue, 05 Aug 2008 21:13:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.gen-x-design.com/projects/php-thumbnailer-class-v20/#comment-6222</guid>
		<description>Do you got a black background, on your transparent PNG. Me 2... but I have the solution:

Add this code to row 319 in thumbnail.inc.php above 'ImageCopyResampled(':

if( $this-&#62;format == 'PNG' ) {
	imagealphablending($this-&#62;workingImage, false);
	$colorTransparent = imagecolorallocatealpha($this-&#62;workingImage, 0, 0, 0, 127);
	imagefill($this-&#62;workingImage, 0, 0, $colorTransparent);
	imagesavealpha($this-&#62;workingImage, true);
}

Good luck!</description>
		<content:encoded><![CDATA[<p>Do you got a black background, on your transparent PNG. Me 2&#8230; but I have the solution:</p>
<p>Add this code to row 319 in thumbnail.inc.php above &#8216;ImageCopyResampled(&#8217;:</p>
<p>if( $this-&gt;format == &#8216;PNG&#8217; ) {<br />
	imagealphablending($this-&gt;workingImage, false);<br />
	$colorTransparent = imagecolorallocatealpha($this-&gt;workingImage, 0, 0, 0, 127);<br />
	imagefill($this-&gt;workingImage, 0, 0, $colorTransparent);<br />
	imagesavealpha($this-&gt;workingImage, true);<br />
}</p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Thumbnailer Class v2.0 by isnain</title>
		<link>http://www.gen-x-design.com/projects/php-thumbnailer-class/#comment-6191</link>
		<dc:creator>isnain</dc:creator>
		<pubDate>Fri, 01 Aug 2008 05:03:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.gen-x-design.com/projects/php-thumbnailer-class-v20/#comment-6191</guid>
		<description>can this script make an image transparent?</description>
		<content:encoded><![CDATA[<p>can this script make an image transparent?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Thumbnailer Class v2.0 by tronics</title>
		<link>http://www.gen-x-design.com/projects/php-thumbnailer-class/#comment-6171</link>
		<dc:creator>tronics</dc:creator>
		<pubDate>Sun, 27 Jul 2008 17:23:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.gen-x-design.com/projects/php-thumbnailer-class-v20/#comment-6171</guid>
		<description>Debugged Watermarkfunction:
/*
$thumb = new Thumbnail(”image/to/watermark.jpg”);
$thumb-&#62;resize(360,355);
$thumb-&#62;watermark("Thumbnailtext");
$thumb-&#62;show();
*/
public function WriteWatermark($watermarktext=""){
if ($watermarktext=="")
$watermarktext=date("d.m.Y H:i:s",time());

$pathinfo = pathinfo($this-&#62;fileName);
//$imagewithwatermark = @imagecreatefromjpeg($this-&#62;fileName);


$var1 = $pathinfo['extension'];
$var2 = "png";
$var3 = "jpeg";
$var4 = "jpg";
$var5 = "gif";

if(strcasecmp($var1, $var2) == 0){
$imagewithwatermark = @imagecreatefrompng($this-&#62;fileName);
}elseif((strcasecmp($var1, $var3) == 0) &#124;&#124; (strcasecmp($var1, $var4) == 0)){
$imagewithwatermark = @imagecreatefromjpeg($this-&#62;fileName);
}elseif(strcasecmp($var1, $var5) == 0){
$imagewithwatermark = @imagecreatefromgif($this-&#62;fileName);
}
if (!$imagewithwatermark) {
  die ('not working watermark');
}
//http://apniphp.blogspot.com/2008/05/put-watermark-on-images-using-php.html

$black = imagecolorallocate($imagewithwatermark, 0, 0, 0);
$font = 'arial.ttf';
$font_size = 10;
//imagettftext($imagewithwatermark, $font_size, 0, 10, 20, $black, $font, $watermarktext);

$tb = imagettfbbox($font_size, 0, $font, $watermarktext);

/*
This'll give you perfect horizontal center alignment for your text, give or take 1 pixel. Have fun!
Array
(
    [0] =&#62; 0 // lower left X coordinate
    [1] =&#62; -1 // lower left Y coordinate
    [2] =&#62; 198 // lower right X coordinate
    [3] =&#62; -1 // lower right Y coordinate
    [4] =&#62; 198 // upper right X coordinate
    [5] =&#62; -20 // upper right Y coordinate
    [6] =&#62; 0 // upper left X coordinate
    [7] =&#62; -20 // upper left Y coordinate
)
*/

$watermarkwidth = imagesx($imagewithwatermark);
$watermarkheight = imagesy($imagewithwatermark);
$startwidth = ($this-&#62;currentDimensions[’width’] - $watermarkwidth);
$startheight = ($this-&#62;currentDimensions[’height’] - $watermarkheight);

$x = ceil(($startwidth - $tb[2]) / 2); // lower left X coordinate for text
imagettftext($imagewithwatermark, $font_size, 0, 2, 11, $black, $font, $watermarktext);


$this-&#62;newImage=$imagewithwatermark;

//imagecopy($this-&#62;workingImage, $imagewithwatermark, $startwidth, $startheight, 0, 0, $watermarkwidth, $watermarkheight);
imagecopy($this-&#62;workingImage,$this-&#62;newImage, $startwidth, $startheight, 0, 0, $watermarkwidth, $watermarkheight);
}</description>
		<content:encoded><![CDATA[<p>Debugged Watermarkfunction:<br />
/*<br />
$thumb = new Thumbnail(”image/to/watermark.jpg”);<br />
$thumb-&gt;resize(360,355);<br />
$thumb-&gt;watermark(&#8221;Thumbnailtext&#8221;);<br />
$thumb-&gt;show();<br />
*/<br />
public function WriteWatermark($watermarktext=&#8221;"){<br />
if ($watermarktext==&#8221;")<br />
$watermarktext=date(&#8221;d.m.Y H:i:s&#8221;,time());</p>
<p>$pathinfo = pathinfo($this-&gt;fileName);<br />
//$imagewithwatermark = @imagecreatefromjpeg($this-&gt;fileName);</p>
<p>$var1 = $pathinfo['extension'];<br />
$var2 = &#8220;png&#8221;;<br />
$var3 = &#8220;jpeg&#8221;;<br />
$var4 = &#8220;jpg&#8221;;<br />
$var5 = &#8220;gif&#8221;;</p>
<p>if(strcasecmp($var1, $var2) == 0){<br />
$imagewithwatermark = @imagecreatefrompng($this-&gt;fileName);<br />
}elseif((strcasecmp($var1, $var3) == 0) || (strcasecmp($var1, $var4) == 0)){<br />
$imagewithwatermark = @imagecreatefromjpeg($this-&gt;fileName);<br />
}elseif(strcasecmp($var1, $var5) == 0){<br />
$imagewithwatermark = @imagecreatefromgif($this-&gt;fileName);<br />
}<br />
if (!$imagewithwatermark) {<br />
  die (&#8217;not working watermark&#8217;);<br />
}<br />
//http://apniphp.blogspot.com/2008/05/put-watermark-on-images-using-php.html</p>
<p>$black = imagecolorallocate($imagewithwatermark, 0, 0, 0);<br />
$font = &#8216;arial.ttf&#8217;;<br />
$font_size = 10;<br />
//imagettftext($imagewithwatermark, $font_size, 0, 10, 20, $black, $font, $watermarktext);</p>
<p>$tb = imagettfbbox($font_size, 0, $font, $watermarktext);</p>
<p>/*<br />
This&#8217;ll give you perfect horizontal center alignment for your text, give or take 1 pixel. Have fun!<br />
Array<br />
(<br />
    [0] =&gt; 0 // lower left X coordinate<br />
    [1] =&gt; -1 // lower left Y coordinate<br />
    [2] =&gt; 198 // lower right X coordinate<br />
    [3] =&gt; -1 // lower right Y coordinate<br />
    [4] =&gt; 198 // upper right X coordinate<br />
    [5] =&gt; -20 // upper right Y coordinate<br />
    [6] =&gt; 0 // upper left X coordinate<br />
    [7] =&gt; -20 // upper left Y coordinate<br />
)<br />
*/</p>
<p>$watermarkwidth = imagesx($imagewithwatermark);<br />
$watermarkheight = imagesy($imagewithwatermark);<br />
$startwidth = ($this-&gt;currentDimensions[’width’] - $watermarkwidth);<br />
$startheight = ($this-&gt;currentDimensions[’height’] - $watermarkheight);</p>
<p>$x = ceil(($startwidth - $tb[2]) / 2); // lower left X coordinate for text<br />
imagettftext($imagewithwatermark, $font_size, 0, 2, 11, $black, $font, $watermarktext);</p>
<p>$this-&gt;newImage=$imagewithwatermark;</p>
<p>//imagecopy($this-&gt;workingImage, $imagewithwatermark, $startwidth, $startheight, 0, 0, $watermarkwidth, $watermarkheight);<br />
imagecopy($this-&gt;workingImage,$this-&gt;newImage, $startwidth, $startheight, 0, 0, $watermarkwidth, $watermarkheight);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Thumbnailer Class v2.0 by tronics</title>
		<link>http://www.gen-x-design.com/projects/php-thumbnailer-class/#comment-6170</link>
		<dc:creator>tronics</dc:creator>
		<pubDate>Sun, 27 Jul 2008 17:09:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.gen-x-design.com/projects/php-thumbnailer-class-v20/#comment-6170</guid>
		<description>TopCenterCrop working.. had a few problems with your code..

/**
* Advanced cropping function that crops an image using $centerX and $startY as the top-center.
*I smashed two functions together to create another; The Top Center Crop.
Put this in your $thumb list:
//create a 100×100 pixel crop from the top center
$thumb-&#62;TopCenterCrop(0,100,100);

And put this in the thumbnail.inc.php file after the crop function:
* @param int $centerX
* @param int $startY
* @param int $width
* @param int $height
*/
public function TopCenterCrop($startY,$width,$height) {
//make sure the cropped area is not greater than the size of the image
if($width &#62; $this-&#62;currentDimensions['width']) $width = $this-&#62;currentDimensions['width'];
if($height &#62; $this-&#62;currentDimensions['height']) $height = $this-&#62;currentDimensions['height'];

//make sure not starting outside the image
$centerX = intval(($this-&#62;currentDimensions['width'] - $width) / 2);

if(($startY + $height) &#62; $this-&#62;currentDimensions['height']) $startY = ($this-&#62;currentDimensions['height'] - $height);


$this-&#62;workingImage = ImageCreateTrueColor($width,$height);

imagecopyresampled(
$this-&#62;workingImage,
$this-&#62;oldImage,
0,
0,
$centerX,
$startY,
$width,
$height,
$width,
$height
);

$this-&#62;oldImage = $this-&#62;workingImage;
$this-&#62;newImage = $this-&#62;workingImage;
$this-&#62;currentDimensions['width'] = $width;
$this-&#62;currentDimensions['height'] = $height;
}</description>
		<content:encoded><![CDATA[<p>TopCenterCrop working.. had a few problems with your code..</p>
<p>/**<br />
* Advanced cropping function that crops an image using $centerX and $startY as the top-center.<br />
*I smashed two functions together to create another; The Top Center Crop.<br />
Put this in your $thumb list:<br />
//create a 100×100 pixel crop from the top center<br />
$thumb-&gt;TopCenterCrop(0,100,100);</p>
<p>And put this in the thumbnail.inc.php file after the crop function:<br />
* @param int $centerX<br />
* @param int $startY<br />
* @param int $width<br />
* @param int $height<br />
*/<br />
public function TopCenterCrop($startY,$width,$height) {<br />
//make sure the cropped area is not greater than the size of the image<br />
if($width &gt; $this-&gt;currentDimensions['width']) $width = $this-&gt;currentDimensions['width'];<br />
if($height &gt; $this-&gt;currentDimensions['height']) $height = $this-&gt;currentDimensions['height'];</p>
<p>//make sure not starting outside the image<br />
$centerX = intval(($this-&gt;currentDimensions['width'] - $width) / 2);</p>
<p>if(($startY + $height) &gt; $this-&gt;currentDimensions['height']) $startY = ($this-&gt;currentDimensions['height'] - $height);</p>
<p>$this-&gt;workingImage = ImageCreateTrueColor($width,$height);</p>
<p>imagecopyresampled(<br />
$this-&gt;workingImage,<br />
$this-&gt;oldImage,<br />
0,<br />
0,<br />
$centerX,<br />
$startY,<br />
$width,<br />
$height,<br />
$width,<br />
$height<br />
);</p>
<p>$this-&gt;oldImage = $this-&gt;workingImage;<br />
$this-&gt;newImage = $this-&gt;workingImage;<br />
$this-&gt;currentDimensions['width'] = $width;<br />
$this-&gt;currentDimensions['height'] = $height;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Thumbnailer Class v2.0 by Senthil</title>
		<link>http://www.gen-x-design.com/projects/php-thumbnailer-class/#comment-6145</link>
		<dc:creator>Senthil</dc:creator>
		<pubDate>Wed, 23 Jul 2008 11:17:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.gen-x-design.com/projects/php-thumbnailer-class-v20/#comment-6145</guid>
		<description>Hi Ian,

Its totally amazing... 
Thanks for your help...</description>
		<content:encoded><![CDATA[<p>Hi Ian,</p>
<p>Its totally amazing&#8230;<br />
Thanks for your help&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Thumbnailer Class v2.0 by Simon66</title>
		<link>http://www.gen-x-design.com/projects/php-thumbnailer-class/#comment-6142</link>
		<dc:creator>Simon66</dc:creator>
		<pubDate>Wed, 23 Jul 2008 05:43:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.gen-x-design.com/projects/php-thumbnailer-class-v20/#comment-6142</guid>
		<description>I smashed two functions together to create another; The Top Center Crop.
Put this in your $thumb list:
//create a 100x100 pixel crop from the top center
$thumb-&#62;TopCenterCrop(0,100,100);

And put this in the thumbnail.inc.php file after the crop function:
	/**
	 * Advanced cropping function that crops an image using $centerX and $startY as the top-center.
	 *
	 * @param int $centerX
	 * @param int $startY
	 * @param int $width
	 * @param int $height
	 */
	public function TopCenterCrop($startY,$width,$height) {
	    //make sure the cropped area is not greater than the size of the image
	    if($width &#62; $this-&#62;currentDimensions['width']) $width = $this-&#62;currentDimensions['width'];
	    if($height &#62; $this-&#62;currentDimensions['height']) $height = $this-&#62;currentDimensions['height'];
	    //make sure not starting outside the image
		$centerX = intval(($this-&#62;currentDimensions['width'] - $width) / 2);
	    if(($startY + $height) &#62; $this-&#62;currentDimensions['height']) $startY = ($this-&#62;currentDimensions['height'] - $height);
	    if($startY workingImage = ImageCreateTrueColor($width,$height);
		}
		else {
			$this-&#62;workingImage = ImageCreate($width,$height);
		}

		imagecopyresampled(
            $this-&#62;workingImage,
            $this-&#62;oldImage,
            0,
            0,
            $centerX,
            $startY,
            $width,
            $height,
            $width,
            $height
		);

		$this-&#62;oldImage = $this-&#62;workingImage;
		$this-&#62;newImage = $this-&#62;workingImage;
		$this-&#62;currentDimensions['width'] = $width;
		$this-&#62;currentDimensions['height'] = $height;
	}

Seems to work for me.</description>
		<content:encoded><![CDATA[<p>I smashed two functions together to create another; The Top Center Crop.<br />
Put this in your $thumb list:<br />
//create a 100&#215;100 pixel crop from the top center<br />
$thumb-&gt;TopCenterCrop(0,100,100);</p>
<p>And put this in the thumbnail.inc.php file after the crop function:<br />
	/**<br />
	 * Advanced cropping function that crops an image using $centerX and $startY as the top-center.<br />
	 *<br />
	 * @param int $centerX<br />
	 * @param int $startY<br />
	 * @param int $width<br />
	 * @param int $height<br />
	 */<br />
	public function TopCenterCrop($startY,$width,$height) {<br />
	    //make sure the cropped area is not greater than the size of the image<br />
	    if($width &gt; $this-&gt;currentDimensions['width']) $width = $this-&gt;currentDimensions['width'];<br />
	    if($height &gt; $this-&gt;currentDimensions['height']) $height = $this-&gt;currentDimensions['height'];<br />
	    //make sure not starting outside the image<br />
		$centerX = intval(($this-&gt;currentDimensions['width'] - $width) / 2);<br />
	    if(($startY + $height) &gt; $this-&gt;currentDimensions['height']) $startY = ($this-&gt;currentDimensions['height'] - $height);<br />
	    if($startY workingImage = ImageCreateTrueColor($width,$height);<br />
		}<br />
		else {<br />
			$this-&gt;workingImage = ImageCreate($width,$height);<br />
		}</p>
<p>		imagecopyresampled(<br />
            $this-&gt;workingImage,<br />
            $this-&gt;oldImage,<br />
            0,<br />
            0,<br />
            $centerX,<br />
            $startY,<br />
            $width,<br />
            $height,<br />
            $width,<br />
            $height<br />
		);</p>
<p>		$this-&gt;oldImage = $this-&gt;workingImage;<br />
		$this-&gt;newImage = $this-&gt;workingImage;<br />
		$this-&gt;currentDimensions['width'] = $width;<br />
		$this-&gt;currentDimensions['height'] = $height;<br />
	}</p>
<p>Seems to work for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Thumbnailer Class v2.0 by Bas</title>
		<link>http://www.gen-x-design.com/projects/php-thumbnailer-class/#comment-6070</link>
		<dc:creator>Bas</dc:creator>
		<pubDate>Fri, 11 Jul 2008 13:55:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.gen-x-design.com/projects/php-thumbnailer-class-v20/#comment-6070</guid>
		<description>Great class. I've used it to resize an image to 500px width and then make a perfect 100px * 100px thumbnail using the following code:

---

//-- upload image
move_uploaded_file($_FILES['photoupload']['tmp_name'], $path . $filename);

//-- resize to 500px
$thumb = new thumbnail($path . $filename);
$thumb-&#62;resize(500);
$thumb-&#62;save($path . $filename);
$thumb-&#62;save($path . $thumb_filename);
unset($thumb);

//-- create thumbnail
$thumb = new thumbnail($path . $thumb_filename);	
if ($size[0] &#62; $size[1])
	$thumb-&#62;resize('', 100);
else
	$thumb-&#62;resize(100, '');
$thumb-&#62;save($path . $thumb_filename);
unset($thumb);

//-- crop thumbnail
$thumb = new thumbnail($path . $thumb_filename);	
$thumb-&#62;cropFromCenter(100);
$thumb-&#62;save($path . $thumb_filename);	

---</description>
		<content:encoded><![CDATA[<p>Great class. I&#8217;ve used it to resize an image to 500px width and then make a perfect 100px * 100px thumbnail using the following code:</p>
<p>&#8212;</p>
<p>//&#8211; upload image<br />
move_uploaded_file($_FILES['photoupload']['tmp_name'], $path . $filename);</p>
<p>//&#8211; resize to 500px<br />
$thumb = new thumbnail($path . $filename);<br />
$thumb-&gt;resize(500);<br />
$thumb-&gt;save($path . $filename);<br />
$thumb-&gt;save($path . $thumb_filename);<br />
unset($thumb);</p>
<p>//&#8211; create thumbnail<br />
$thumb = new thumbnail($path . $thumb_filename);<br />
if ($size[0] &gt; $size[1])<br />
	$thumb-&gt;resize(&#8221;, 100);<br />
else<br />
	$thumb-&gt;resize(100, &#8221;);<br />
$thumb-&gt;save($path . $thumb_filename);<br />
unset($thumb);</p>
<p>//&#8211; crop thumbnail<br />
$thumb = new thumbnail($path . $thumb_filename);<br />
$thumb-&gt;cropFromCenter(100);<br />
$thumb-&gt;save($path . $thumb_filename);	</p>
<p>&#8212;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
