<?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 Topics</title>
<link>http://phpthumb.gxdlabs.com/forums/</link>
<description>Help, Suggestions, and General Discussion</description>
<language>en</language>
<pubDate>Sat, 04 Feb 2012 23:51:20 +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>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>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>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>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>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-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>alex on "include path in ThumbLib.inc.php"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/include-path-in-thumblibincphp#post-11</link>
<pubDate>Wed, 17 Jun 2009 04:23:24 +0000</pubDate>
<dc:creator>alex</dc:creator>
<guid isPermaLink="false">11@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;First of all, congratulations on your new version!&#60;/p&#62;
&#60;p&#62;When including ThumbLib.inc.php from my index.php file, the paths to the PhpThumb.inc.php, ThumbBase.inc.php and GdThumb.inc.php need to be relative to the path of my index.php file.&#60;br /&#62;
A workaround is to adjust the paths to the included files inside ThumbLib.inc, but perhaps it's better to implement a universal method to determine the right path?
&#60;/p&#62;</description>
</item>

</channel>
</rss>

