<?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: Help - 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:40 +0000</pubDate>

<item>
<title>lausianne on "phpThumb.demo.gallery.php - "failed to open""</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/phpthumbdemogalleryphp-failed-to-open#post-897</link>
<pubDate>Thu, 19 Jan 2012 03:55:45 +0000</pubDate>
<dc:creator>lausianne</dc:creator>
<guid isPermaLink="false">897@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I just installed phpThumb on a local XAMPP site, works very well.&#60;br /&#62;
Now I tried the supplied demo files, and all work fine, except phpThumb.demo.gallery.php. Here I get the error&#60;br /&#62;
&#60;code&#62;failed to open &#34;/demo/images/&#34;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I tried various settings for the path variables but was not able to get it to work. In a Google search I found many test sites with the same problem, but no solution.&#60;/p&#62;
&#60;p&#62;What do I need to enter for $basedir etc. to get the gallery demo to work on XAMPP?&#60;/p&#62;
&#60;p&#62;Thank you!&#60;/p&#62;
&#60;p&#62;Cheers, Ralf.
&#60;/p&#62;</description>
</item>
<item>
<title>realfun784 on "Inpage Use of PHP Thumb code  Error"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/inpage-use-of-php-thumb-code-error#post-583</link>
<pubDate>Sun, 08 Jan 2012 01:33:36 +0000</pubDate>
<dc:creator>realfun784</dc:creator>
<guid isPermaLink="false">583@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;I use this code in&#60;br /&#62;
&#60;code&#62;&#38;lt;? require_once 'ThumbLib.inc.php';&#60;br /&#62;
require_once 'ThumbLib.inc.php';&#60;br /&#62;
			$image = $wallpapername .'_'. $wallpaperid .''. $fileformat;&#60;br /&#62;
		$thumb = PhpThumbFactory::create($image);&#60;br /&#62;
$thumb-&#38;gt;adaptiveResize(1280, 720);&#60;br /&#62;
$thumb-&#38;gt;show();&#60;br /&#62;
?&#38;gt;&#60;/code&#62;&#60;br /&#62;
 i got error in page&#60;br /&#62;
this&#60;br /&#62;
&#60;code&#62;Fatal error: Uncaught exception 'BadMethodCallException' with message 'Call to undefined method/class function: triggerError' in C:\xampp\htdocs\wallspro\ThumbBase.inc.php:209 Stack trace: #0 [internal function]: ThumbBase-&#38;gt;__call('triggerError', Array) #1 C:\xampp\htdocs\wallspro\ThumbBase.inc.php(172): GdThumb-&#38;gt;triggerError('Image file not ...') #2 C:\xampp\htdocs\wallspro\ThumbBase.inc.php(110): ThumbBase-&#38;gt;fileExistsAndReadable() #3 C:\xampp\htdocs\wallspro\GdThumb.inc.php(96): ThumbBase-&#38;gt;__construct('sunny_leone_hot...', false) #4 C:\xampp\htdocs\wallspro\ThumbLib.inc.php(127): GdThumb-&#38;gt;__construct('sunny_leone_hot...', Array, false) #5 C:\xampp\htdocs\wallspro\show-wallpaper.php(114): PhpThumbFactory::create('sunny_leone_hot...') #6 {main} thrown in C:\xampp\htdocs\wallspro\ThumbBase.inc.php on line 209&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>robsonrdasilva on "How do I enlarge small images?"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/how-do-i-enlarge-small-images#post-169</link>
<pubDate>Fri, 21 Jan 2011 09:19:25 +0000</pubDate>
<dc:creator>robsonrdasilva</dc:creator>
<guid isPermaLink="false">169@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Hi.&#60;br /&#62;
I'm making a website and i'm using phpthumb to make thumbnails.&#60;br /&#62;
But I have some small imagens and I need enlarge them. &#60;/p&#62;
&#60;p&#62;For example:&#60;br /&#62;
I have a image with 200x100 pixels and I need transform it to 500x300 pixels.&#60;/p&#62;
&#60;p&#62;How do I make it?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>Ben on "makethumbs.php only executes a few actions per pageload."</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/makethumbsphp-only-executes-a-few-actions-per-pageload#post-177</link>
<pubDate>Tue, 22 Mar 2011 12:56:54 +0000</pubDate>
<dc:creator>Ben</dc:creator>
<guid isPermaLink="false">177@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;When I have a large directory of images to process, makethumbs only does about 15 actions per pageload. When I refresh the page, it continues right where it left off. I would like to be able to process ALL the images at once instead of refreshing makethumbs repeatedly until the directory is done.&#60;/p&#62;
&#60;p&#62;PLEASE HELP!&#60;br /&#62;
Pure Rookie
&#60;/p&#62;</description>
</item>
<item>
<title>banning on "localhost error "function.getimagesize: failed to open stream""</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/localhost-error-functiongetimagesize-failed-to-open-stream#post-143</link>
<pubDate>Tue, 08 Dec 2009 05:04:53 +0000</pubDate>
<dc:creator>banning</dc:creator>
<guid isPermaLink="false">143@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;I don't know why but on my current host I don't get an error when I use this script. AND on my old localhost here on my laptop I never got this error. But now that I got my new localhost and copied all my info over and what not I get this error and can't figure it out. I've tried to tweak the php.ini (memory_limit to be exact) file to get it to work &#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;/p&#62;
&#60;p&#62;Warning: getimagesize(http://localhost/path_to_image.../image.png) [function.getimagesize]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\path_to_php_thumb_resize\GdThumb.inc.php on line 1070&#60;/p&#62;
&#60;p&#62;Fatal error: Maximum execution time of 30 seconds exceeded in C:\path_to_php_thumb_resize\GdThumb.inc.php on line 1070&#60;/p&#62;
&#60;p&#62;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Anyway I realize you do this all for free and on your spare time so I REALLY appreciate any and all help you can give me :) thank you &#38;#38; thank you for this AMAZING script :)
&#60;/p&#62;</description>
</item>
<item>
<title>Clifford on "show() gives me very wierd output"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/show-gives-me-very-wierd-output#post-163</link>
<pubDate>Tue, 23 Nov 2010 06:33:24 +0000</pubDate>
<dc:creator>Clifford</dc:creator>
<guid isPermaLink="false">163@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;hi there,&#60;/p&#62;
&#60;p&#62;i have this code :&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$thumb = PhpThumbFactory::create('images/gallery/33.jpg');&#60;br /&#62;
$thumb-&#38;gt;resize(100, 100);&#60;br /&#62;
$thumb-&#38;gt;show();&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;and it does not show the image i just shows aload (100's) of weird characters&#60;/p&#62;
&#60;p&#62;anyone know whats up ?&#60;/p&#62;
&#60;p&#62;im running PHP 5.2.5&#60;/p&#62;
&#60;p&#62;thanks in advance !&#60;br /&#62;
Sean
&#60;/p&#62;</description>
</item>
<item>
<title>banning on "Caching"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/caching#post-159</link>
<pubDate>Mon, 22 Mar 2010 17:23:25 +0000</pubDate>
<dc:creator>banning</dc:creator>
<guid isPermaLink="false">159@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;LOL i seen where someone asked about caching for another phpthumb library. HOWEVER, i assure you i am using your library :P&#60;/p&#62;
&#60;p&#62;Anyway i was curious is there a setting to enable caching in your library so that the images don't refresh every time i go to the site? If not do you have plans on implementing such a feature in the future?&#60;/p&#62;
&#60;p&#62;Signed,&#60;br /&#62;
A long time a dedicated user of your library, &#60;strong&#62;I LOVE IT&#60;/strong&#62; :) most usefully thing i have EVER found on the internet!
&#60;/p&#62;</description>
</item>
<item>
<title>kapikua on "Weight change after the modification"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/weight-change-after-the-modification#post-154</link>
<pubDate>Wed, 10 Feb 2010 02:19:55 +0000</pubDate>
<dc:creator>kapikua</dc:creator>
<guid isPermaLink="false">154@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Hello&#60;/p&#62;
&#60;p&#62;I'm using this application to a panel of pictures and when I get an image of 50 kb to the server and change the image size but weighs 100 kb.&#60;/p&#62;
&#60;p&#62;Example:&#60;/p&#62;
&#60;p&#62;I upload an image of 800 x 600 and weighs 70 kb. When set to size up the 500 x300 image and weighs 170 kb.&#60;/p&#62;
&#60;p&#62;Someone knows why could this happen?&#60;/p&#62;
&#60;p&#62;Thanks 4 help
&#60;/p&#62;</description>
</item>
<item>
<title>leafy34 on "Header Restriction Errors"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/header-restriction-errors#post-147</link>
<pubDate>Wed, 13 Jan 2010 21:12:31 +0000</pubDate>
<dc:creator>leafy34</dc:creator>
<guid isPermaLink="false">147@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;&#60;strong&#62;UPDATE:&#60;/strong&#62; Found previous post, and was referred here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://trac.gxdlabs.com/projects/phpthumb/wiki/Docs/BasicUsage#ShowingImages&#34; rel=&#34;nofollow&#34;&#62;http://trac.gxdlabs.com/projects/phpthumb/wiki/Docs/BasicUsage#ShowingImages&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Hi there,&#60;/p&#62;
&#60;p&#62;First off, nice application, I am really looking forward to using its functionality except, I seem to run into an error with headers.&#60;/p&#62;
&#60;p&#62;Here is what I am thrown:&#60;/p&#62;
&#60;p&#62;&#60;blockquote&#62;Fatal error: Uncaught exception 'RuntimeException' with message 'Cannot show image, headers have already been sent' in /home/user/public_html/domain/includes/GdThumb.inc.php:569 Stack trace: #0 /home/user/public_html/domain/testthis.php(9): GdThumb-&#38;gt;show() #1 {main} thrown in /home/user/public_html/domain/includes/GdThumb.inc.php on line 569&#60;/blockquote&#62;&#60;/p&#62;
&#60;p&#62;Here is the code from the page &#34;testthis.php&#34;:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
&#38;lt;?php require_once('includes/ThumbLib.inc.php'); ?&#38;gt;&#60;br /&#62;
&#38;lt;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#38;gt;&#60;br /&#62;
&#38;lt;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&#38;gt;&#60;br /&#62;
&#38;lt;head&#38;gt;&#38;lt;title&#38;gt;&#38;lt;/title&#38;gt;&#38;lt;/head&#38;gt;&#60;br /&#62;
&#38;lt;body&#38;gt;&#60;br /&#62;
&#38;lt;?php&#60;br /&#62;
$thumb = PhpThumbFactory::create('quotemark1.png');&#60;br /&#62;
$thumb-&#38;gt;resize(100, 100);&#60;br /&#62;
$thumb-&#38;gt;show();&#60;br /&#62;
?&#38;gt;&#60;br /&#62;
&#38;lt;/body&#38;gt;&#60;br /&#62;
&#38;lt;/html&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I really am unsure as to why this is happening, since there is no output before ThumbLib.inc.php is required.&#60;/p&#62;
&#60;p&#62;Any help will be very appreciated!&#60;br /&#62;
Cheers, Lea
&#60;/p&#62;</description>
</item>
<item>
<title>jay on "Were do you set the maximum size for the image upload??"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/were-do-you-set-the-maximum-size-for-the-image-upload#post-140</link>
<pubDate>Sat, 28 Nov 2009 19:30:40 +0000</pubDate>
<dc:creator>jay</dc:creator>
<guid isPermaLink="false">140@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Were do you set the maximum size for the image upload??
&#60;/p&#62;</description>
</item>
<item>
<title>Frosty on "Image caching?"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/image-caching#post-131</link>
<pubDate>Wed, 11 Nov 2009 04:26:01 +0000</pubDate>
<dc:creator>Frosty</dc:creator>
<guid isPermaLink="false">131@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Hi, in previous versions of PHPThumb the image caching was a really great feature, but in version 3.x I can't seem to find this feature anywhere.&#60;/p&#62;
&#60;p&#62;On some slower servers the caching is a really nice feature to have.&#60;/p&#62;
&#60;p&#62;Am I not using the software correctly, or is it actually missing from version 3?&#60;/p&#62;
&#60;p&#62;If it's missing, are there any plans to introduce it?&#60;/p&#62;
&#60;p&#62;Whilst leaving this message, I'd like to say what a great bit of software I think php Thumb is.&#60;/p&#62;
&#60;p&#62;Laurence
&#60;/p&#62;</description>
</item>
<item>
<title>OrderByRand on "How save converted image into MySQL (blob)"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/how-save-converted-image-into-mysql-blob#post-123</link>
<pubDate>Mon, 12 Oct 2009 11:51:55 +0000</pubDate>
<dc:creator>OrderByRand</dc:creator>
<guid isPermaLink="false">123@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Welcome,&#60;/p&#62;
&#60;p&#62;I would ask two question.&#60;/p&#62;
&#60;p&#62;First, how can i convert image into string &#60;em&#62;then save to MySQL.&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;I have try following but without positive result. ( i think its foul of headers).&#60;/p&#62;
&#60;p&#62;&#60;code&#62; ob_start();&#60;br /&#62;
 $thumb-&#38;gt;show();&#60;br /&#62;
 $out = ob_get_clean();&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Second, how force to use output format ?&#60;br /&#62;
I want store output images in JPG format.&#60;/p&#62;
&#60;p&#62;Please excuse my language
&#60;/p&#62;</description>
</item>
<item>
<title>skunker on "IE browser hangs when using phpthumb. Known issue?"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/ie-browser-hangs-when-using-phpthumb-known-issue#post-69</link>
<pubDate>Wed, 29 Jul 2009 13:56:58 +0000</pubDate>
<dc:creator>skunker</dc:creator>
<guid isPermaLink="false">69@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;I use a wordpress theme that makes use of phpthumb for its thumbnail generation. I noticed that in Microsoft Internet Explorer, the page with the generated thumbnails never finishes loading the page. The problem is that in the IE browser, it seems that the browser hangs when loading pages that have thumbnails. For example, go to this link and watch the browser status bar never finish!&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.georgeramirezphotography.com/new/?cat=5&#34; rel=&#34;nofollow&#34;&#62;http://www.georgeramirezphotography.com/new/?cat=5&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Does anyone have any clue on what is happening? How can I fix this problem? Thanks so much, it has been bugging me.
&#60;/p&#62;</description>
</item>
<item>
<title>phillw on "XHTML Strict &#038; phpthumbs"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/xhtml-strict-038-phpthumbs#post-105</link>
<pubDate>Mon, 21 Sep 2009 13:13:52 +0000</pubDate>
<dc:creator>phillw</dc:creator>
<guid isPermaLink="false">105@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Glad to see you are compliant ..... however, I have a small problem ....&#60;/p&#62;
&#60;p&#62;Your code wishes to issue &#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
public function show ()&#60;br /&#62;
	{&#60;br /&#62;
		if (headers_sent())&#60;br /&#62;
		{&#60;br /&#62;
			throw new RuntimeException('Cannot show image, headers have already been sent');&#60;br /&#62;
		}&#60;/p&#62;
&#60;p&#62;		switch ($this-&#38;gt;format)&#60;br /&#62;
		{&#60;br /&#62;
			case 'GIF':&#60;br /&#62;
				header('Content-type: image/gif');&#60;br /&#62;
				imagegif($this-&#38;gt;oldImage);&#60;br /&#62;
				break;&#60;br /&#62;
			case 'JPG':&#60;br /&#62;
				header('Content-type: image/jpeg');&#60;br /&#62;
				imagejpeg($this-&#38;gt;oldImage, null, $this-&#38;gt;options['jpegQuality']);&#60;br /&#62;
				break;&#60;br /&#62;
			case 'PNG':&#60;br /&#62;
				header('Content-type: image/png');&#60;br /&#62;
				imagepng($this-&#38;gt;oldImage);&#60;br /&#62;
				break;&#60;br /&#62;
		}&#60;/p&#62;
&#60;p&#62;		return $this;&#60;br /&#62;
	}&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;And my Code for XHTML compliance (and various meta-tags) has already issued this little lot at the start of each page ......&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
$charset = &#34;utf-8&#34;;&#60;br /&#62;
$mime = &#34;text/html&#34;;&#60;br /&#62;
# NOTE: To allow for q-values with one space (text/html; q=0.5),&#60;br /&#62;
# use the following regex:&#60;br /&#62;
# &#34;/text\/html;[\ ]{0,1}q=([0-1]{0,1}\.\d{0,4})/i&#34;&#60;br /&#62;
if((isset($_SERVER[&#34;HTTP_ACCEPT&#34;])) &#38;#38;&#38;#38; (stristr($_SERVER[&#34;HTTP_ACCEPT&#34;],&#34;application/xhtml+xml&#34;)))  {&#60;br /&#62;
   if(preg_match(&#34;/application\/xhtml\+xml;q=([0-1]{0,1}\.\d{0,4})/i&#34;,$_SERVER[&#34;HTTP_ACCEPT&#34;],$matches)) {&#60;br /&#62;
      $xhtml_q = $matches[1];&#60;br /&#62;
      if(preg_match(&#34;/text\/html;q=([0-1]{0,1}\.\d{0,4})/i&#34;,$_SERVER[&#34;HTTP_ACCEPT&#34;],$matches)) {&#60;br /&#62;
         $html_q = $matches[1];&#60;br /&#62;
         if((float)$xhtml_q &#38;gt;= (float)$html_q)&#60;br /&#62;
            $mime = &#34;application/xhtml+xml&#34;;&#60;br /&#62;
      }&#60;br /&#62;
   }&#60;br /&#62;
   else&#60;br /&#62;
	  $mime = &#34;application/xhtml+xml&#34;;&#60;br /&#62;
}&#60;br /&#62;
?&#38;gt;&#60;br /&#62;
&#38;lt;!DOCTYPE html&#60;br /&#62;
     PUBLIC &#34;-//W3C//DTD XHTML 1.0 Strict//EN&#34;&#60;br /&#62;
     &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#34;&#38;gt;&#60;br /&#62;
&#38;lt;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34; xml:lang=&#34;en&#34; lang=&#34;en&#34;&#38;gt;&#60;br /&#62;
&#38;lt;head&#38;gt;&#60;br /&#62;
&#38;lt;meta http-equiv=&#34;Content-Type&#34; content=&#34;&#38;lt;?php echo $mime ?&#38;gt;;charset=&#38;lt;?php echo $charset ?&#38;gt;&#34; /&#38;gt;&#60;br /&#62;
&#38;lt;!--  The lines below are for CSS - On my sites I have the two classes,&#60;br /&#62;
 You may only have media, or you may need one for mobile (cell) phones - add / remove as you wish --&#38;gt;&#60;br /&#62;
&#38;lt;meta http-equiv=&#34;Content-Style-Type&#34; content=&#34;text/css&#34; /&#38;gt;&#60;br /&#62;
&#38;lt;link rel=&#34;stylesheet&#34; media=&#34;screen&#34; type=&#34;text/css&#34; href=&#34;/mgjuddltd/html/mgj.css&#34; /&#38;gt;&#60;br /&#62;
&#38;lt;link rel=&#34;stylesheet&#34; media=&#34;print&#34; type=&#34;text/css&#34; href=&#34;/mgjuddltd/html/mgj_print.css&#34; /&#38;gt;&#60;br /&#62;
&#38;lt;meta name=&#34;description&#34; content=&#34;hire plant parts, spares engineering services&#34;/&#38;gt;&#60;br /&#62;
&#38;lt;meta name=&#34;keywords&#34; content=&#34;keys, locks, engine, parts, hire, plant, services, engineering,&#60;br /&#62;
consumables,&#34;/&#38;gt;&#60;br /&#62;
&#38;lt;meta name=&#34;copyright&#34; content=&#34;M.G. Judd Ltd., 2009. All rights Reserved.&#34;/&#38;gt;&#60;br /&#62;
&#38;lt;meta name=&#34;no-email-collection&#34; content=&#34;http://www.unspam.com/noemailcollection&#34; /&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;/head&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I'm still pretty new to this strict encoding, whilst trying to look after non-xhtml browsers - I'm not too sure how to get around the issuing of a &#34;content-type:&#34; to your specific requirements....&#60;/p&#62;
&#60;p&#62;I'm sorta guessing that &#60;strong&#62;&#60;em&#62;most&#60;/em&#62;&#60;/strong&#62; browsers can handle&#60;br /&#62;
jpgs &#38;#38; gifs - w3c has this to say on the matter....&#60;br /&#62;
&#60;blockquote&#62;Attributes of this type identify the allowable content type(s) of an associated URI (usually a value of another attribute on the same element). At its most general, it is a comma-separated list of media ranges with optional accept parameters, as defined in section 14.1 of [RFC2616] as the field value of the accept request header.&#60;/p&#62;
&#60;p&#62;In its simplest case, this is just a media type, such as &#34;image/png&#34; or &#34;application/xml&#34;, but it may also contain asterisks, such as &#34;image/*&#34; or &#34;*/*&#34;, or lists of acceptable media types, such as &#34;image/png, image/gif, image/jpeg&#34;.&#60;/p&#62;
&#60;p&#62;The user agent must combine this list with its own list of acceptable media types by taking the intersection, and then use the resulting list as the field value of the accept request header when requesting the resource using HTTP.&#60;/p&#62;
&#60;p&#62;For instance, if the attribute specifies the value &#34;image/png, image/gif, image/jpeg&#34;, but the user agent does not accept images of type &#34;image/gif&#34; then the resultant accept header would contain &#34;image/png, image/jpeg&#34;.&#60;/p&#62;
&#60;p&#62;A user agent must imitate similar behavior when using other methods than HTTP. For instance, when accessing files in a local filestore, &#38;lt;p src=&#34;logo&#34; srctype=&#34;image/png, image/jpeg&#34;&#38;gt; might cause the user agent first to look for a file logo.png, and then for logo.jpg.&#60;/p&#62;
&#60;p&#62;If a value for the content type is not given, &#34;*/*&#34; must be used for its value.&#60;/p&#62;
&#60;p&#62;For the current list of registered content types, please consult [MIMETYPES].&#60;/blockquote&#62;&#60;/p&#62;
&#60;p&#62;So, placing a &#60;code&#62;In its simplest case, this is just a media type, such as &#34;image/png&#34; or &#34;application/xml&#34;, but it may also contain asterisks, such as &#34;image/*&#34; or &#34;*/*&#34;, or lists of acceptable media types, such as &#34;image/png, image/gif, image/jpeg&#34;.&#60;br /&#62;
&#60;/code&#62; type statement would keep me in alignment with the rules - My question then is, what would be, if any, the effect of removing the code from your library with those directives in ?&#60;/p&#62;
&#60;p&#62;-- Yeah, I know I'm a pain in the ass, but, please try to see it my way - I already have a header section to look after all my pages, and I would be most pleased to be able to adapt to use your fantastic php-code.&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Phill.
&#60;/p&#62;</description>
</item>
<item>
<title>idragon on "Displaying Thumbs"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/displaying-thumbs#post-101</link>
<pubDate>Tue, 15 Sep 2009 11:11:47 +0000</pubDate>
<dc:creator>idragon</dc:creator>
<guid isPermaLink="false">101@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Hi Guys,&#60;/p&#62;
&#60;p&#62;I need some help, and somewhat newbie in php but i get along usually.&#60;/p&#62;
&#60;p&#62;I have a special field for image classes, so i want to resize them with &#60;a href=&#34;http://www.site.com/show_imagex.php?file=%field%&#34; rel=&#34;nofollow&#34;&#62;http://www.site.com/show_imagex.php?file=%field%&#60;/a&#62; this works in my code but i have lots of images, around 20+ per page, so i think it takes a hit on the server. So i was thinking to save them and display them, something like this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;?php&#60;/p&#62;
&#60;p&#62;require_once 'ThumbLib.inc.php';&#60;/p&#62;
&#60;p&#62;$fileName = (isset($_GET['file'])) ? urldecode($_GET['file']) : null;&#60;/p&#62;
&#60;p&#62;if ($fileName === null &#124;&#124; !file_exists($fileName))&#60;br /&#62;
{&#60;br /&#62;
	echo &#34;&#38;lt;p&#38;gt;imagine lipsa&#38;lt;/p&#38;gt;&#34;;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;try&#60;br /&#62;
{&#60;br /&#62;
     $thumb = PhpThumbFactory::create($fileName);&#60;br /&#62;
}&#60;br /&#62;
catch (Exception $e)&#60;br /&#62;
{&#60;br /&#62;
     echo &#34;&#38;lt;p&#38;gt;exception&#38;lt;/p&#38;gt;&#34;;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;if(!file_exists('static/'.$fileName))&#60;br /&#62;
{&#60;/p&#62;
&#60;p&#62;$thumb-&#38;gt;adaptiveResize(170, 80);&#60;/p&#62;
&#60;p&#62;$thumb-&#38;gt;save('static/'.$fileName);&#60;br /&#62;
}&#60;br /&#62;
$new = PhpThumbFactory::create('static/'.$fileName);&#60;/p&#62;
&#60;p&#62;if(file_exists('static/'.$fileName))&#60;br /&#62;
{&#60;/p&#62;
&#60;p&#62;$new-&#38;gt;show();&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;?&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;So basically get the field name, save in static, and show it. Now i dont know if this uses resources each time i call it, to create a new thumb, or it takes it from static.&#60;/p&#62;
&#60;p&#62;Any suggestions?
&#60;/p&#62;</description>
</item>
<item>
<title>robbrandt on "How does caching work?"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/how-does-caching-work#post-92</link>
<pubDate>Wed, 26 Aug 2009 15:54:57 +0000</pubDate>
<dc:creator>robbrandt</dc:creator>
<guid isPermaLink="false">92@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;It seems that when I update an original file (larger, same location and name) phpthumb continues to display the original file.  I have refreshed my browser, even done &#34;view image&#34; to isolate it from the page and refreshed (which usually works in Firefox) but it's still the original.  Only when I delete the folders inside of phpThumb/cache/ do the new versions show up.&#60;/p&#62;
&#60;p&#62;The configuration options seem to suggest that they should be re-caching if the original has changed.  The cache settings for phpThumb.config.php are:&#60;/p&#62;
&#60;p&#62;// * Cache directory configuration (choose only one of these - leave the other lines commented-out):&#60;br /&#62;
// Note: this directory must be writable (usually chmod 777 is neccesary) for caching to work.&#60;br /&#62;
// If the directory is not writable no error will be generated but caching will be disabled.&#60;br /&#62;
$PHPTHUMB_CONFIG['cache_directory'] = dirname(__FILE__).'/cache/';                            // set the cache directory relative to the phpThumb() installation&#60;br /&#62;
//$PHPTHUMB_CONFIG['cache_directory'] = $PHPTHUMB_CONFIG['document_root'].'/phpthumb/cache/'; // set the cache directory to an absolute directory for all source images&#60;br /&#62;
//$PHPTHUMB_CONFIG['cache_directory'] = './cache/';                                           // set the cache directory relative to the source image - must start with '.' (will not work to cache URL- or database-sourced images, please use an absolute directory name)&#60;br /&#62;
//$PHPTHUMB_CONFIG['cache_directory'] = null;                                                 // disable thumbnail caching (not recommended)&#60;br /&#62;
//if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') {&#60;br /&#62;
//	$PHPTHUMB_CONFIG['cache_directory'] = dirname(__FILE__).'/cache/'; // set the cache directory to an absolute directory for all source images&#60;br /&#62;
//} else {&#60;br /&#62;
//	$PHPTHUMB_CONFIG['cache_directory'] = '/tmp/persistent/phpthumb/cache/';&#60;br /&#62;
//}&#60;/p&#62;
&#60;p&#62;$PHPTHUMB_CONFIG['cache_disable_warning'] = true; // If [cache_directory] is non-existant or not writable, and [cache_disable_warning] is false, an error image will be generated warning to either set the cache directory or disable the warning (to avoid people not knowing about the cache)&#60;/p&#62;
&#60;p&#62;$PHPTHUMB_CONFIG['cache_directory_depth'] = 4; // If this larger than zero, cache structure will be broken into a broad directory structure based on cache filename. For example &#34;cache_src012345...&#34; will be stored in &#34;/0/01/012/0123/cache_src012345...&#34; when (cache_directory_depth = 4)&#60;/p&#62;
&#60;p&#62;// * Cache culling: phpThumb can automatically limit the contents of the cache directory&#60;br /&#62;
//   based on last-access date and/or number of files and/or total filesize.&#60;/p&#62;
&#60;p&#62;//$PHPTHUMB_CONFIG['cache_maxage'] = null;            // never delete cached thumbnails based on last-access time&#60;br /&#62;
$PHPTHUMB_CONFIG['cache_maxage'] = 86400 * 30;        // delete cached thumbnails that haven't been accessed in more than [30 days] (value is maximum time since last access in seconds to avoid deletion)&#60;/p&#62;
&#60;p&#62;//$PHPTHUMB_CONFIG['cache_maxsize'] = null;           // never delete cached thumbnails based on byte size of cache directory&#60;br /&#62;
$PHPTHUMB_CONFIG['cache_maxsize'] = 10 * 1024 * 1024; // delete least-recently-accessed cached thumbnails when more than [10MB] of cached files are present (value is maximum bytesize of all cached files)&#60;/p&#62;
&#60;p&#62;//$PHPTHUMB_CONFIG['cache_maxfiles'] = null;          // never delete cached thumbnails based on number of cached files&#60;br /&#62;
$PHPTHUMB_CONFIG['cache_maxfiles'] = 200;             // delete least-recently-accessed cached thumbnails when more than [200] cached files are present (value is maximum number of cached files to keep)&#60;/p&#62;
&#60;p&#62;// * Source image cache configuration&#60;br /&#62;
$PHPTHUMB_CONFIG['cache_source_enabled']   = false;                               // if true, source images obtained via HTTP are cached to $PHPTHUMB_CONFIG['cache_source_directory']&#60;br /&#62;
$PHPTHUMB_CONFIG['cache_source_directory'] = dirname(__FILE__).'/cache/source/';  // set the cache directory for unprocessed source images&#60;/p&#62;
&#60;p&#62;// * cache source modification date configuration&#60;br /&#62;
$PHPTHUMB_CONFIG['cache_source_filemtime_ignore_local']  = false; // if true, local source images will not be checked for modification date and cached image will be used if available, even if source image is changed or removed&#60;br /&#62;
$PHPTHUMB_CONFIG['cache_source_filemtime_ignore_remote'] = true;  // if true, remote source images will not be checked for modification date and cached image will be used if available, even if source image is changed or removed. WARNING: cached performance MUCH slower if this is set to false.&#60;/p&#62;
&#60;p&#62;// * Simplified cache filename configuration&#60;br /&#62;
// Instead of creating unique cache filenames for all parameter combinations, create &#34;simple&#34; cache files (eg: &#34;pic_thumb.jpg&#34;)&#60;br /&#62;
// If cache_default_only_suffix is non-empty, GETstring parameters (except 'src') are ignored and only $PHPTHUMB_DEFAULTS&#60;br /&#62;
// parameters (set at the bottom of phpThumb.config.php) are used for processing.&#60;br /&#62;
// The '*' character MUST be used to represent the source image name&#60;br /&#62;
$PHPTHUMB_CONFIG['cache_default_only_suffix'] = '';           // cached in normal phpThumb manner&#60;br /&#62;
//$PHPTHUMB_CONFIG['cache_default_only_suffix'] = '*_thumb';  // cache 'pic.jpg' becomes 'pic_thumb.jpg' (or 'pic_thumb.png' if PNG output is selected, etc)&#60;br /&#62;
//$PHPTHUMB_CONFIG['cache_default_only_suffix'] = 'small-*';  // cache 'pic.jpg' becomes 'small-pic.jpg' (or 'small-pic.png' if PNG output is selected, etc)&#60;/p&#62;
&#60;p&#62;$PHPTHUMB_CONFIG['cache_prefix'] = 'phpThumb_cache_'.str_replace('www.', '', @$_SERVER['SERVER_NAME']);&#60;br /&#62;
//$PHPTHUMB_CONFIG['cache_prefix'] = 'phpThumb_cache';                         // allow phpThumb to share 1 set of cached files even if accessed under different servername/domains on same server&#60;/p&#62;
&#60;p&#62;$PHPTHUMB_CONFIG['cache_force_passthru'] = true;  // if true, cached image data will always be passed to browser; if false, HTTP redirect will be used instead
&#60;/p&#62;</description>
</item>
<item>
<title>enatom on "How do I do multiple thumbs"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/how-do-i-do-multiple-thumbs#post-81</link>
<pubDate>Mon, 10 Aug 2009 14:58:09 +0000</pubDate>
<dc:creator>enatom</dc:creator>
<guid isPermaLink="false">81@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;How can I make multiple resizes of an uploaded image?&#60;/p&#62;
&#60;p&#62;what is the code like for making the multiple resizes of one uploaded image.
&#60;/p&#62;</description>
</item>
<item>
<title>mayid on "Resize and save Temp Files"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/resize-and-save-temp-files#post-77</link>
<pubDate>Sat, 08 Aug 2009 15:44:27 +0000</pubDate>
<dc:creator>mayid</dc:creator>
<guid isPermaLink="false">77@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;I have a file uploader running on a page&#60;br /&#62;
(libasoles.com.ar/subida).&#60;/p&#62;
&#60;p&#62;Users just uploads pictures. And I thought I was saving smaller versions by PhpThumb, but i´m not. &#60;/p&#62;
&#60;p&#62;Is it possible to resize temporal files? Or should i save the picture first?&#60;/p&#62;
&#60;p&#62;Here´s some lines of my code:&#60;/p&#62;
&#60;p&#62;$temporal = $_FILES['Filedata']['tmp_name'];&#60;br /&#62;
$thumb = PhpThumbFactory::create($temporal);&#60;/p&#62;
&#60;p&#62;$thumb-&#38;gt;resize(480,300)-&#38;gt;save($_FILES['Filedata']['name']);
&#60;/p&#62;</description>
</item>
<item>
<title>thinkle on "Exact crop"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/exact-crop#post-78</link>
<pubDate>Mon, 10 Aug 2009 09:58:19 +0000</pubDate>
<dc:creator>thinkle</dc:creator>
<guid isPermaLink="false">78@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;hi&#60;/p&#62;
&#60;p&#62;How do you get an image, with exact dimensions, that is not the center of the image? Ie, zoomed out.&#60;/p&#62;
&#60;p&#62;For example. I have a 800x600 picture that i need to be 200x150, i can crop it to exact dimensions using resize or adaptive resize but the image is always just the center of the original, not zoomed out like other crops&#60;/p&#62;
&#60;p&#62;thanks
&#60;/p&#62;</description>
</item>
<item>
<title>enatom on "How do I do this ?"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/how-do-i-do-this#post-73</link>
<pubDate>Mon, 03 Aug 2009 03:43:21 +0000</pubDate>
<dc:creator>enatom</dc:creator>
<guid isPermaLink="false">73@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Hi guys,&#60;/p&#62;
&#60;p&#62;I need to let a user upload an image on my &#60;code&#62;/upload/post/&#60;/code&#62; directory. There must be a restriction on the images to upload, at 1mb and no bigger than 2000px X 2000px.&#60;/p&#62;
&#60;p&#62;but I also need a thumbnail created on my &#60;code&#62;/upload/post/mthumb&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;All thumbs must have a width of 300, but with the height being relative to the width, and keep to its aspect ration (not losing proportion) .. Also at the best quality.&#60;/p&#62;
&#60;p&#62;How do I do this. Now I've only learnt PHP in the past 2 weeks, BUT I know OOP, functions, vars, MySQL, and PHP basics. I also have VisualBasic experience. So its just this kind of stuff that im not to confident with.&#60;/p&#62;
&#60;p&#62;I hope you can help me.&#60;/p&#62;
&#60;p&#62;My file structure is like this:-&#60;/p&#62;
&#60;p&#62;&#60;code&#62;/ core&#60;/p&#62;
&#60;p&#62;/ post&#60;br /&#62;
--&#124; avatar&#60;br /&#62;
--&#124; post&#60;br /&#62;
----&#124; mthumb &#38;lt;---- where the thumbs should be saved&#60;/p&#62;
&#60;p&#62;/ inc&#60;br /&#62;
--&#124; phpthumb &#38;lt;---- installation folder&#60;/p&#62;
&#60;p&#62;/ template&#60;br /&#62;
--&#124; default &#38;lt;---- my pages are to upload, resize and show&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Birch on "Instant resizing or multiple thumbnail creation? in both cases, Help!"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/instant-resizing-or-multiple-thumbnail-creation-in-both-cases-help#post-64</link>
<pubDate>Sat, 25 Jul 2009 02:26:09 +0000</pubDate>
<dc:creator>Birch</dc:creator>
<guid isPermaLink="false">64@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Ok, this has been really a pain in the neck.&#60;/p&#62;
&#60;p&#62;I have a database made with MySQL and PHP. The script I used selects 1 row from the table, and displays the values in a table using echo.  So I used the technique written in &#60;a href=&#34;http://trac.gxdlabs.com/projects/phpthumb/wiki/Docs/BasicUsage#ShowingImages&#34; rel=&#34;nofollow&#34;&#62;http://trac.gxdlabs.com/projects/phpthumb/wiki/Docs/BasicUsage#ShowingImages&#60;/a&#62;&#60;br /&#62;
 But, when the solution the docs say failed, I used various ways such as &#60;code&#62;	echo &#34;&#60;a&#62;&#38;lt;img src=\&#34;thumb.php?file=&#34;.echo urlencode('/covers/komix$id.png').&#34;\&#34; /&#38;gt;&#60;/a&#62;&#34;;&#60;/code&#62;, but I couldn't achieve it. When I tried to fetch the image with a img tag outside the php tags, I found out that the script show the exception error. No matter what I did,(ie ../s and directory changes) I could not get a result.&#60;/p&#62;
&#60;p&#62;the thumb.php file source:&#60;br /&#62;
&#60;code&#62;&#38;lt;?php&#60;/p&#62;
&#60;p&#62;   $path = $_SERVER['DOCUMENT_ROOT'];&#60;br /&#62;
   $path .= &#34;/scripts/thumb/ThumbLib.inc.php&#34;;&#60;br /&#62;
require_once &#34;$path&#34;;&#60;/p&#62;
&#60;p&#62;$fileName = (isset($_GET['file'])) ? urldecode($_GET['file']) : null;&#60;/p&#62;
&#60;p&#62;if ($fileName === null &#124;&#124; !file_exists($fileName))&#60;br /&#62;
{&#60;br /&#62;
     // handle missing images however you want... perhaps show a default image??  Up to you...&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;try&#60;br /&#62;
{&#60;br /&#62;
     $thumb = PhpThumbFactory::create($fileName);&#60;br /&#62;
}&#60;br /&#62;
catch (Exception $e)&#60;br /&#62;
{&#60;br /&#62;
     // handle error here however you'd like&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;$thumb-&#38;gt;resize(201, 283);&#60;br /&#62;
$thumb-&#38;gt;show();&#60;/p&#62;
&#60;p&#62;?&#38;gt;&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Another problem is the thumbnail saving. I have 300+ pngs of a high quality and doing it manually is a nightmare.  How can I do it?&#60;/p&#62;
&#60;p&#62;Thank you in advance for your help!
&#60;/p&#62;</description>
</item>
<item>
<title>lasse on "How to specify image quality/compression?"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/how-to-specify-image-qualitycompression#post-56</link>
<pubDate>Fri, 17 Jul 2009 02:57:33 +0000</pubDate>
<dc:creator>lasse</dc:creator>
<guid isPermaLink="false">56@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Hello, I've used PHP Thumb and been very happy with it. However, I can't seem to figure out how to specify a quality setting when saving an image?&#60;/p&#62;
&#60;p&#62;I tried:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;		private function _createThumbnail($sourcePath, $destPath, $w, $h, $q)&#60;br /&#62;
		{&#60;br /&#62;
		     $thumb = CB_Image_Thumbnail::create($sourcePath);&#60;br /&#62;
		     $thumb-&#38;gt;resize($w, $h);&#60;br /&#62;
		     $thumb-&#38;gt;save($destPath, $q);&#60;br /&#62;
		}&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>rikdes on "show() function never displays the image"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/show-function-never-displays-the-image#post-42</link>
<pubDate>Sun, 05 Jul 2009 07:06:04 +0000</pubDate>
<dc:creator>rikdes</dc:creator>
<guid isPermaLink="false">42@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Hi,i use a php file to display my images.&#60;br /&#62;
But the images are never displayed.&#60;br /&#62;
In Firefox, I see only a text coming up.&#60;br /&#62;
for example: &#60;a href=&#34;http://localhost:8888/fmdisconvac/public/news/shownewsimage?img=foto+2.jpg.&#34; rel=&#34;nofollow&#34;&#62;http://localhost:8888/fmdisconvac/public/news/shownewsimage?img=foto+2.jpg.&#60;/a&#62;&#60;br /&#62;
In firefox i see the symbol for a missing image.&#60;br /&#62;
This is the code in my shownewsimage.php file&#60;/p&#62;
&#60;p&#62;$img;&#60;br /&#62;
$fileName = (isset($_GET['img'])) ? urldecode($_GET['img']) : null;&#60;br /&#62;
if ($fileName !== null) $fileName  = $this-&#38;gt;path.$fileName;&#60;br /&#62;
if ($fileName === null &#124;&#124; !file_exists($fileName))&#60;br /&#62;
{&#60;br /&#62;
	echo &#34;image does not exist. (&#34;.$fileName.&#34;)&#34;;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;try&#60;br /&#62;
{&#60;br /&#62;
     $img = Zend_FreimsImage_ThumbLib::create($fileName);&#60;br /&#62;
}&#60;br /&#62;
catch (Exception $e)&#60;br /&#62;
{&#60;br /&#62;
     echo &#34;error occured&#34;;&#60;br /&#62;
}&#60;br /&#62;
$img-&#38;gt;show();
&#60;/p&#62;</description>
</item>
<item>
<title>atDev on "Set options after initialization"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/set-options-after-initialization#post-37</link>
<pubDate>Wed, 01 Jul 2009 19:08:38 +0000</pubDate>
<dc:creator>atDev</dc:creator>
<guid isPermaLink="false">37@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Is there a method we can use to set options after we create the object using the factory instead of passing it in?
&#60;/p&#62;</description>
</item>
<item>
<title>alex on "save files- permissions"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/save-files-permissions#post-12</link>
<pubDate>Wed, 17 Jun 2009 07:55:50 +0000</pubDate>
<dc:creator>alex</dc:creator>
<guid isPermaLink="false">12@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;When using the file save functions, the permissions are set in a way that I can't delete file via  &#60;a href=&#34;http://FTP.&#34; rel=&#34;nofollow&#34;&#62;FTP.&#60;/a&#62; Is there a setting to change the default permissions?
&#60;/p&#62;</description>
</item>
<item>
<title>alex on "getting around header restriction"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/getting-around-header-restriction#post-10</link>
<pubDate>Wed, 17 Jun 2009 02:11:41 +0000</pubDate>
<dc:creator>alex</dc:creator>
<guid isPermaLink="false">10@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;In the documentation, I found the following line:&#60;/p&#62;
&#60;p&#62;&#60;blockquote&#62;When showing an image, the library sends a header before the image stream. Because of this you CANNOT show an image directly in the middle of your page since output will have already started. It's very much the same as how you can't just toss a session_start() in the middle of your page. You can, however, get around this restriction in a relatively easy way, which we'll take a look at later. &#60;/blockquote&#62;&#60;/p&#62;
&#60;p&#62;However, I can't find the easy way to get around the restriciton that is mentioned. Could you please explain how to do this?
&#60;/p&#62;</description>
</item>

</channel>
</rss>

