<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>PHP Thumb: Forum: Bugs - Recent Posts</title>
<link>http://phpthumb.gxdlabs.com/forums/</link>
<description>Help, Suggestions, and General Discussion</description>
<language>en</language>
<pubDate>Sat, 04 Feb 2012 23:20:17 +0000</pubDate>

<item>
<title>kro on "dreamweaver issue"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/dreamweaver-issue-1#post-191</link>
<pubDate>Mon, 24 Oct 2011 05:40:36 +0000</pubDate>
<dc:creator>kro</dc:creator>
<guid isPermaLink="false">191@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;an error is due to creation of _notes directories all around when you sync a website using dreamweaver&#60;/p&#62;
&#60;p&#62;phpthumb go and look in this directory to find plugins&#60;/p&#62;
&#60;p&#62;here is the ssolution : modify PhpThumb.inc.php line 217 and add&#60;br /&#62;
&#124;&#124; $file == '_notes'&#60;br /&#62;
like this :&#60;/p&#62;
&#60;p&#62;if ($file == '.' &#124;&#124; $file == '..' &#124;&#124; $file == '.svn' &#124;&#124; $file == '_notes')
&#60;/p&#62;</description>
</item>
<item>
<title>webchimp on "Create imagen from String and PNG Transparency"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/create-imagen-from-string-and-png-transparency#post-185</link>
<pubDate>Thu, 18 Aug 2011 09:33:17 +0000</pubDate>
<dc:creator>webchimp</dc:creator>
<guid isPermaLink="false">185@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Hello to every one, i just tried to resize a PNG from a string and saw that the transparency was not preserved. I read the documentation and found that the &#60;strong&#62;create&#60;/strong&#62; function receives an array with options, where i could pass the parameter 'preserveTransparency' and 'preserveAlpha'. The problem is that when the format of the image is STRING (as set when you create an image from a stream) this options does not works.&#60;/p&#62;
&#60;p&#62;I found this line (line 1154) in &#60;strong&#62;GDThumb.inc.php&#60;/strong&#62;:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;if ($this-&#38;gt;format == 'PNG' &#38;#38;&#38;#38; $this-&#38;gt;options['preserveAlpha'] === true)&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I found that if i change that line, the transparency is now preserved:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;if ($this-&#38;gt;format == 'PNG' &#124;&#124; $this-&#38;gt;options['preserveAlpha'] === true)&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>adamquadmon on "PHP Version 5.3.0 Issues"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/php-version-530-issues#post-113</link>
<pubDate>Mon, 28 Sep 2009 09:47:18 +0000</pubDate>
<dc:creator>adamquadmon</dc:creator>
<guid isPermaLink="false">113@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;for this error:&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
PHP Warning: Parameter 6 to GdReflectionLib::createReflection() expected to be a reference, value given in ThumbBase.inc.php on line 197&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;- go on that line (197)&#60;br /&#62;
- look at the previous one (196)&#60;/p&#62;
&#60;p&#62;change it from:&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
$args[] = $this;&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;to:&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
$args[] = &#38;amp;$this;&#60;br /&#62;
&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Danielpk on "Suggest a fix."</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/suggest-a-fix#post-112</link>
<pubDate>Thu, 24 Sep 2009 16:53:58 +0000</pubDate>
<dc:creator>Danielpk</dc:creator>
<guid isPermaLink="false">112@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Well, i using this with CakePHP and i got this NOTICE:&#60;/p&#62;
&#60;p&#62;&#60;blockquote&#62;Notice (8): Undefined index: JPG Support [APP\vendors\phpThumb\GdThumb.inc.php, line 1080]&#60;br /&#62;
&#60;/blockquote&#62;&#60;/p&#62;
&#60;p&#62;So for fix it i did:&#60;br /&#62;
&#60;code&#62;case 'JPG':&#60;br /&#62;
                                $isCompatible = (isset($gdInfo['JPG Support'])) ? $gdInfo['JPG Support'] : $gdInfo['JPEG Support'];&#60;br /&#62;
                                break;&#60;br /&#62;
			case 'PNG':&#60;br /&#62;
				$isCompatible = $gdInfo['PNG Support'];&#60;br /&#62;
				break;&#60;/code&#62;&#60;br /&#62;
The problem was that gdInfo dont had JPG Support index.&#60;/p&#62;
&#60;p&#62;I wish that it help...
&#60;/p&#62;</description>
</item>
<item>
<title>Ian on "preserve transparency in png and gif"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/preserve-transparency-in-png-and-gif#post-99</link>
<pubDate>Sun, 13 Sep 2009 21:43:39 +0000</pubDate>
<dc:creator>Ian</dc:creator>
<guid isPermaLink="false">99@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Hey,&#60;/p&#62;
&#60;p&#62;I've been pretty swamped with the 9-5, but like I said, there is some initial support for transparency already baked in.  Take a look at some of the options over at &#60;a href=&#34;http://trac.gxdlabs.com/projects/phpthumb/wiki/Docs/GettingStarted#Options&#34; rel=&#34;nofollow&#34;&#62;http://trac.gxdlabs.com/projects/phpthumb/wiki/Docs/GettingStarted#Options&#60;/a&#62; and see if those can hold you over until I get a chance to put some more time into this :)
&#60;/p&#62;</description>
</item>
<item>
<title>tronics on "preserve transparency in png and gif"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/preserve-transparency-in-png-and-gif#post-98</link>
<pubDate>Sun, 13 Sep 2009 09:20:31 +0000</pubDate>
<dc:creator>tronics</dc:creator>
<guid isPermaLink="false">98@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Hi Ian!&#60;/p&#62;
&#60;p&#62;Can you please give some feedback on this?&#60;br /&#62;
It would be awesome to be able to work with transparency soon :)&#60;/p&#62;
&#60;p&#62;Thanks.&#60;br /&#62;
tronics
&#60;/p&#62;</description>
</item>
<item>
<title>mcangel on "PHP Version 5.3.0 Issues"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/php-version-530-issues#post-95</link>
<pubDate>Fri, 28 Aug 2009 13:54:38 +0000</pubDate>
<dc:creator>mcangel</dc:creator>
<guid isPermaLink="false">95@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;about this error:&#60;br /&#62;
&#60;code&#62;PHP Notice: Undefined index: JPG Support in /home/images/public_html/functions/GdThumb.inc.php on line 1080&#60;/code&#62;&#60;br /&#62;
if you don't want to wait for new release you just can fix it by yourself if don't know how look below:&#60;br /&#62;
open file GdThumb.inc.php find&#60;br /&#62;
&#60;code&#62;case 'JPG':&#60;/code&#62;&#60;br /&#62;
on 1078 line and add&#60;br /&#62;
&#60;code&#62; if (phpversion() &#38;gt;= &#34;5.3.0&#34;) $this-&#38;gt;format = 'JPEG';&#60;/code&#62;&#60;br /&#62;
after it, then insert&#60;br /&#62;
&#60;code&#62;if ($this-&#38;gt;format == 'JPEG') $this-&#38;gt;format = 'JPG';&#60;/code&#62;&#60;br /&#62;
between&#60;br /&#62;
&#60;code&#62;$isCompatible = $gdInfo[$this-&#38;gt;format . ' Support'];&#60;/code&#62;&#60;br /&#62;
and&#60;br /&#62;
&#60;code&#62;break;&#60;/code&#62;&#60;br /&#62;
and I think that from this next part of code&#60;br /&#62;
&#60;code&#62;		if (!$isCompatible)&#60;br /&#62;
		{&#60;br /&#62;
			// one last check for &#34;JPEG&#34; instead&#60;br /&#62;
			$isCompatible = $gdInfo['JPEG Support'];&#60;/p&#62;
&#60;p&#62;			if (!$isCompatible)&#60;br /&#62;
			{&#60;br /&#62;
				$this-&#38;gt;triggerError('Your GD installation does not support ' . $this-&#38;gt;format . ' image types');&#60;br /&#62;
			}&#60;br /&#62;
		}&#60;/code&#62;&#60;br /&#62;
you can save only this part&#60;br /&#62;
&#60;code&#62;if (!$isCompatible)&#60;br /&#62;
			{&#60;br /&#62;
				$this-&#38;gt;triggerError('Your GD installation does not support ' . $this-&#38;gt;format . ' image types');&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>tronics on "preserve transparency in png and gif"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/preserve-transparency-in-png-and-gif#post-91</link>
<pubDate>Fri, 21 Aug 2009 12:48:05 +0000</pubDate>
<dc:creator>tronics</dc:creator>
<guid isPermaLink="false">91@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Thanks Ian, you are great :)
&#60;/p&#62;</description>
</item>
<item>
<title>Ian on "preserve transparency in png and gif"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/preserve-transparency-in-png-and-gif#post-90</link>
<pubDate>Thu, 20 Aug 2009 08:38:25 +0000</pubDate>
<dc:creator>Ian</dc:creator>
<guid isPermaLink="false">90@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;I put some initial support into the library for transparency, but I'll take a look and see if anything's up with the library.  If not, I'll take a look at the code you've supplied and see if it helps solve any issues :)
&#60;/p&#62;</description>
</item>
<item>
<title>tronics on "preserve transparency in png and gif"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/preserve-transparency-in-png-and-gif#post-89</link>
<pubDate>Wed, 19 Aug 2009 02:58:57 +0000</pubDate>
<dc:creator>tronics</dc:creator>
<guid isPermaLink="false">89@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;This code helps preserving transparency, we shall add this to the library in case it is not already possible:&#60;/p&#62;
&#60;p&#62;1) &#60;a href=&#34;http://stackoverflow.com/questions/32243/can-png-image-transparency-be-preserved-when-using-phps-gdlib-imagecopyresampled&#34; rel=&#34;nofollow&#34;&#62;http://stackoverflow.com/questions/32243/can-png-image-transparency-be-preserved-when-using-phps-gdlib-imagecopyresampled&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;2) &#60;a href=&#34;http://mediumexposure.com/techblog/smart-image-resizing-while-preserving-transparency-php-and-gd-library&#34; rel=&#34;nofollow&#34;&#62;http://mediumexposure.com/techblog/smart-image-resizing-while-preserving-transparency-php-and-gd-library&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>shockerusa on "PHP Version 5.3.0 Issues"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/php-version-530-issues#post-88</link>
<pubDate>Mon, 17 Aug 2009 20:26:15 +0000</pubDate>
<dc:creator>shockerusa</dc:creator>
<guid isPermaLink="false">88@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Ticket submitted.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Justin
&#60;/p&#62;</description>
</item>
<item>
<title>Ian on "PHP Version 5.3.0 Issues"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/php-version-530-issues#post-87</link>
<pubDate>Mon, 17 Aug 2009 20:03:28 +0000</pubDate>
<dc:creator>Ian</dc:creator>
<guid isPermaLink="false">87@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;I thought I'd nailed down the issue with the &#34;jpg&#34; vs &#34;jpeg&#34; in the library... looks like that's not the case.  Can you go ahead and file a ticket about these issues so I can take a look into it (I'll likely forget about it if it's just here in the forums).&#60;/p&#62;
&#60;p&#62;Here's the link to create a ticket: &#60;a href=&#34;http://trac.gxdlabs.com/projects/phpthumb/newticket&#34; rel=&#34;nofollow&#34;&#62;http://trac.gxdlabs.com/projects/phpthumb/newticket&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>shockerusa on "PHP Version 5.3.0 Issues"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/php-version-530-issues#post-86</link>
<pubDate>Mon, 17 Aug 2009 19:44:07 +0000</pubDate>
<dc:creator>shockerusa</dc:creator>
<guid isPermaLink="false">86@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;In my error log, I'm getting these errors. The result of this, is that the plugins don't work anymore.&#60;/p&#62;
&#60;p&#62;&#60;blockquote&#62;PHP Notice:  Undefined index: JPG Support in /home/images/public_html/functions/GdThumb.inc.php on line 1080&#60;/blockquote&#62;&#60;/p&#62;
&#60;p&#62;and&#60;br /&#62;
&#60;blockquote&#62;PHP Warning:  Parameter 6 to GdReflectionLib::createReflection() expected to be a reference, value given in /home/images/public_html/functions/ThumbBase.inc.php on line 197&#60;/blockquote&#62;&#60;/p&#62;
&#60;p&#62;Any ideas how to fix these issues?&#60;/p&#62;
&#60;p&#62;Notes: I'm using your latest version.&#60;br /&#62;
PHP 5.3&#60;br /&#62;
GD 2.0.34 &#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Justin
&#60;/p&#62;</description>
</item>
<item>
<title>tronics on "preserve transparency in png and gif"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/preserve-transparency-in-png-and-gif#post-85</link>
<pubDate>Sun, 16 Aug 2009 14:59:44 +0000</pubDate>
<dc:creator>tronics</dc:creator>
<guid isPermaLink="false">85@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Hello!&#60;/p&#62;
&#60;p&#62;Everything works very well so far, but I found problems with transparency.&#60;/p&#62;
&#60;p&#62;$_filename=&#34;nicename.png&#34;;&#60;br /&#62;
$format=&#34;png&#34;;&#60;br /&#62;
$thumb-&#38;gt;resize($width,$height')-&#38;gt;save($_filename,$format);&#60;br /&#62;
$thumb = PhpThumbFactory::create($_filename);//take the cached Thumb.&#60;br /&#62;
$thumb-&#38;gt;show();  &#60;/p&#62;
&#60;p&#62;When I tried to resize and save this image here with png and transparency it turns out to have a black background (the same as when saved in jpg Format)&#60;/p&#62;
&#60;p&#62;Try this image to test it:&#60;br /&#62;
&#60;a href=&#34;http://www.atomikframework.com/assets/images/logo.png&#34; rel=&#34;nofollow&#34;&#62;http://www.atomikframework.com/assets/images/logo.png&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Do I make any mistake, or is this a bug?&#60;/p&#62;
&#60;p&#62;Thank you.
&#60;/p&#62;</description>
</item>
<item>
<title>Ian on "Remote Images - Fatal Error"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/remote-images-fatal-error#post-60</link>
<pubDate>Fri, 17 Jul 2009 09:47:23 +0000</pubDate>
<dc:creator>Ian</dc:creator>
<guid isPermaLink="false">60@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Added support for remote images in the latest version, just released :)
&#60;/p&#62;</description>
</item>
<item>
<title>Ian on "GD 2.0.34+ Compatibility Issue"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/gd-2034-compatibility-issue#post-59</link>
<pubDate>Fri, 17 Jul 2009 09:46:53 +0000</pubDate>
<dc:creator>Ian</dc:creator>
<guid isPermaLink="false">59@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;I think I got a fix for this, which was added in the latest version released today.  Hopefully that addresses the issue :)
&#60;/p&#62;</description>
</item>
<item>
<title>Ian on "GD 2.0.34+ Compatibility Issue"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/gd-2034-compatibility-issue#post-55</link>
<pubDate>Thu, 16 Jul 2009 17:30:43 +0000</pubDate>
<dc:creator>Ian</dc:creator>
<guid isPermaLink="false">55@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Awesome, glad you caught that!&#60;/p&#62;
&#60;p&#62;I'll try and get a fix in for that in the near future so it won't break on 5.3
&#60;/p&#62;</description>
</item>
<item>
<title>dingwen on "GD 2.0.34+ Compatibility Issue"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/gd-2034-compatibility-issue#post-54</link>
<pubDate>Thu, 16 Jul 2009 15:56:43 +0000</pubDate>
<dc:creator>dingwen</dc:creator>
<guid isPermaLink="false">54@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;I think I found myself the answer. PHP 5.3.x will have JPEG instead of JPG. I tried PHP 5.2.8 which is on most of my clients' hosting servers and got JPG from gd_info. Now the problem is solved.&#60;/p&#62;
&#60;p&#62;If you have a server or have installed the server with PHP 5.3.x, you may need to change the GD Thumb Class Definition File Class in order to make the PHP Thumb function properly.
&#60;/p&#62;</description>
</item>
<item>
<title>dingwen on "GD 2.0.34+ Compatibility Issue"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/gd-2034-compatibility-issue#post-53</link>
<pubDate>Wed, 15 Jul 2009 23:08:38 +0000</pubDate>
<dc:creator>dingwen</dc:creator>
<guid isPermaLink="false">53@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;After some research, I found that my couple clients hosting server are have &#60;strong&#62;GD 2.0.34&#60;/strong&#62;, but they have JPG instead of JPEG. This may be the OS dependence issue. If anyone has a windows OS hosting server, please use the following code to dump the GD info and see it is JPG or JPEG.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;?php&#60;br /&#62;
$tmp = gd_info();&#60;br /&#62;
echo '&#38;lt;table&#38;gt;';&#60;br /&#62;
foreach($tmp as $key=&#38;gt;$value) {&#60;br /&#62;
	echo '&#38;lt;tr&#38;gt;';&#60;br /&#62;
	echo '&#38;lt;td&#38;gt;' . $key . '&#38;lt;/td&#38;gt;';&#60;br /&#62;
	echo '&#38;lt;td&#38;gt;' . $value . '&#38;lt;/td&#38;gt;';&#60;br /&#62;
	echo '&#38;lt;/tr&#38;gt;';&#60;br /&#62;
}&#60;br /&#62;
echo '&#38;lt;/table&#38;gt;';&#60;br /&#62;
?&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;The &#60;strong&#62;&#34;JPEG Support&#34;&#60;/strong&#62; might only happen in Windows Vista.
&#60;/p&#62;</description>
</item>
<item>
<title>dingwen on "GD 2.0.34+ Compatibility Issue"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/gd-2034-compatibility-issue#post-52</link>
<pubDate>Wed, 15 Jul 2009 14:23:46 +0000</pubDate>
<dc:creator>dingwen</dc:creator>
<guid isPermaLink="false">52@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Hi everyone,&#60;/p&#62;
&#60;p&#62;I start using PHP Thumb just couple weeks ago. Thanks for a such great utility component.&#60;/p&#62;
&#60;p&#62;After I have upgraged my WAMP to the newest version, I realized GD library in the WAMP has changed to &#60;strong&#62;2.0.34&#60;/strong&#62;. The GD version change results that GD Thumb Class Definition File Class will not be able to verify the JPEG mime type and store into format variable. Thus, the image processes are triggering errors. Below is the gd_info dump.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;GD Version : bundled (2.0.34 compatible)&#60;br /&#62;
FreeType Support : 1&#60;br /&#62;
FreeType Linkage : with freetype&#60;br /&#62;
T1Lib Support :&#60;br /&#62;
GIF Read Support : 1&#60;br /&#62;
GIF Create Support : 1&#60;br /&#62;
&#60;strong&#62;&#60;u&#62;JPEG Support : 1&#60;/u&#62;&#60;/strong&#62;&#60;br /&#62;
PNG Support : 1&#60;br /&#62;
WBMP Support : 1&#60;br /&#62;
XPM Support :&#60;br /&#62;
XBM Support : 1&#60;br /&#62;
JIS-mapped Japanese Font Support : &#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I put a quick fix for my code since the deadline is approching. I changed all the JPG to JPEG in GDThumb.inc.php. However, this fix is totally depending on the GD version on the server. If your PHP Thumb is running fine, you don't need to change it.
&#60;/p&#62;</description>
</item>
<item>
<title>atDev on "Pixelated corrupt image output"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/pixelated-corrupt-image-output#post-41</link>
<pubDate>Thu, 02 Jul 2009 05:01:16 +0000</pubDate>
<dc:creator>atDev</dc:creator>
<guid isPermaLink="false">41@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Ignore this, my fault my setting of the quality was bad so it was assuming &#34;0&#34; quality.
&#60;/p&#62;</description>
</item>
<item>
<title>atDev on "Pixelated corrupt image output"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/pixelated-corrupt-image-output#post-40</link>
<pubDate>Thu, 02 Jul 2009 04:56:38 +0000</pubDate>
<dc:creator>atDev</dc:creator>
<guid isPermaLink="false">40@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;It seems to be happening for any image I try.
&#60;/p&#62;</description>
</item>
<item>
<title>atDev on "Pixelated corrupt image output"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/pixelated-corrupt-image-output#post-39</link>
<pubDate>Thu, 02 Jul 2009 04:52:23 +0000</pubDate>
<dc:creator>atDev</dc:creator>
<guid isPermaLink="false">39@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Perhaps I am missing something but I am resizing this image (the small one):&#60;br /&#62;
&#60;a href=&#34;http://images.google.com/imgres?imgurl=http://people.mozilla.com/~faaborg/files/20061210-newCar/newCar.jpg_large.jpg&#38;#38;imgrefurl=http://blog.mozilla.com/faaborg/2006/12/10/my-new-scion-xa/&#38;#38;usg=__WKiKcmdQE-X2Ow8NiZI8MB_l_80=&#38;#38;h=2304&#38;#38;w=3072&#38;#38;sz=1949&#38;#38;hl=en&#38;#38;start=4&#38;#38;um=1&#38;#38;tbnid=VSSWewRRZnOgfM:&#38;#38;tbnh=113&#38;#38;tbnw=150&#38;#38;prev=/images%3Fq%3Dcar%26hl%3Den%26client%3Dfirefox-a%26rls%3Dorg.mozilla:en-US:official%26sa%3DG%26um%3D1&#34;&#62;Google image of a car&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;But it comes out half grayscale and extremely pixelated.&#60;/p&#62;
&#60;p&#62;I am using the resize method.
&#60;/p&#62;</description>
</item>
<item>
<title>zactanaz on "Remote Images - Fatal Error"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/remote-images-fatal-error#post-35</link>
<pubDate>Fri, 26 Jun 2009 17:45:59 +0000</pubDate>
<dc:creator>zactanaz</dc:creator>
<guid isPermaLink="false">35@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;I have found workarounds, but it does not involve the library by using cURL or the function &#34;file_get_contents&#34; to create an image from string, but that's not really what I wanted to do. &#60;/p&#62;
&#60;p&#62;Thanks for the quick answer.
&#60;/p&#62;</description>
</item>
<item>
<title>Ian on "Remote Images - Fatal Error"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/remote-images-fatal-error#post-32</link>
<pubDate>Thu, 25 Jun 2009 21:51:48 +0000</pubDate>
<dc:creator>Ian</dc:creator>
<guid isPermaLink="false">32@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Well, you could catch the exception ;)&#60;/p&#62;
&#60;p&#62;Basically the library can't open the file (hence the &#34;Image file not found&#34; error), so it throws an exception.&#60;/p&#62;
&#60;p&#62;As to the remote image portion of your question, I've never tried it myself, but typically with remote files, you'd need to make sure &#34;allow_url_fopen&#34; is enabled in your php.ini file.  But, the class wouldn't really deal with it properly still.  I could probably get something whipped up in the near future... can you file an enhancement request over at &#60;a href=&#34;http://trac.gxdlabs.com/projects/phpthumb/newticket&#34; rel=&#34;nofollow&#34;&#62;http://trac.gxdlabs.com/projects/phpthumb/newticket&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>zactanaz on "Remote Images - Fatal Error"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/remote-images-fatal-error#post-31</link>
<pubDate>Thu, 25 Jun 2009 19:57:51 +0000</pubDate>
<dc:creator>zactanaz</dc:creator>
<guid isPermaLink="false">31@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;This is a amazing library, easy and simple to use.&#60;/p&#62;
&#60;p&#62;I found out the when you point to a remote image to generate a thumb is gives a &#60;strong&#62;Fatal Error&#60;/strong&#62;.&#60;/p&#62;
&#60;p&#62;Here it is:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
Fatal error: Uncaught exception 'Exception' with message 'Image file not found: &#60;a href=&#34;http://www.sample.com/sub-dir/image.jpg&#34; rel=&#34;nofollow&#34;&#62;http://www.sample.com/sub-dir/image.jpg&#60;/a&#62;' in C:\xampplite\htdocs\includes\ThumbBase.inc.php:165 Stack trace: #0 C:\xampplite\htdocs\includes\ThumbBase.inc.php(144): ThumbBase-&#38;gt;triggerError('Image file not ...') #1 C:\xampplite\htdocs\includes\ThumbBase.inc.php(93): ThumbBase-&#38;gt;fileExistsAndReadable() #2 C:\xampplite\htdocs\includes\GdThumb.inc.php(96): ThumbBase-&#38;gt;__construct('http://www.sampl...') #3 C:\xampplite\htdocs\includes\ThumbLib.inc.php(127): GdThumb-&#38;gt;__construct('http://www.sampl...', Array) #4 C:\xampplite\htdocs\twistys\images.php(14): PhpThumbFactory::create('http://www.sampl...') #5 {main} thrown in C:\xampplite\htdocs\includes\ThumbBase.inc.php on line 165&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Is there a workaround this problem?&#60;/p&#62;
&#60;p&#62;If PHPThumb does not support this feature it would be nice if you could add support for this.&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Zactanaz
&#60;/p&#62;</description>
</item>
<item>
<title>alex on "include path in ThumbLib.inc.php"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/include-path-in-thumblibincphp#post-27</link>
<pubDate>Thu, 18 Jun 2009 12:20:10 +0000</pubDate>
<dc:creator>alex</dc:creator>
<guid isPermaLink="false">27@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;done :)
&#60;/p&#62;</description>
</item>
<item>
<title>Ian on "include path in ThumbLib.inc.php"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/include-path-in-thumblibincphp#post-22</link>
<pubDate>Thu, 18 Jun 2009 08:24:03 +0000</pubDate>
<dc:creator>Ian</dc:creator>
<guid isPermaLink="false">22@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;True enough, but I meant over on the bug tracker: &#60;a href=&#34;http://trac.gxdlabs.com/projects/phpthumb/newticket&#34; rel=&#34;nofollow&#34;&#62;http://trac.gxdlabs.com/projects/phpthumb/newticket&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;That way you can track the progress of the whole thing... if not, I'll just get to it at some point anyway :)
&#60;/p&#62;</description>
</item>
<item>
<title>alex on "include path in ThumbLib.inc.php"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/include-path-in-thumblibincphp#post-20</link>
<pubDate>Thu, 18 Jun 2009 01:58:45 +0000</pubDate>
<dc:creator>alex</dc:creator>
<guid isPermaLink="false">20@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;&#60;blockquote&#62;I'd file a bug if I were you, and I'll look into it :) &#60;/blockquote&#62;&#60;/p&#62;
&#60;p&#62;Well, since this is the bug department... hereby :)&#60;br /&#62;
Maybe a seperate config file is an idea, so the settings will be maintained when upgrading to a new version.
&#60;/p&#62;</description>
</item>
<item>
<title>Ian on "include path in ThumbLib.inc.php"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/include-path-in-thumblibincphp#post-15</link>
<pubDate>Wed, 17 Jun 2009 08:14:35 +0000</pubDate>
<dc:creator>Ian</dc:creator>
<guid isPermaLink="false">15@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Yeah, I could probably put some dirname magic in there, but that's not always reliable either (if people change up the file layout for whatever reason).  I'd file a bug if I were you, and I'll look into it :)
&#60;/p&#62;</description>
</item>

</channel>
</rss>

