<?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 Topic: Suggest a fix.</title>
<link>http://phpthumb.gxdlabs.com/forums/</link>
<description>Help, Suggestions, and General Discussion</description>
<language>en</language>
<pubDate>Fri, 10 Sep 2010 07:54:49 +0000</pubDate>

<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>

</channel>
</rss>
