<?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: Header Restriction Errors</title>
<link>http://phpthumb.gxdlabs.com/forums/</link>
<description>Help, Suggestions, and General Discussion</description>
<language>en</language>
<pubDate>Fri, 10 Sep 2010 07:45:48 +0000</pubDate>

<item>
<title>Ian on "Header Restriction Errors"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/header-restriction-errors#post-151</link>
<pubDate>Thu, 14 Jan 2010 11:08:08 +0000</pubDate>
<dc:creator>Ian</dc:creator>
<guid isPermaLink="false">151@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Doh, didn't see your update... either way, sounds like you got things figured out
&#60;/p&#62;</description>
</item>
<item>
<title>Ian on "Header Restriction Errors"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/header-restriction-errors#post-150</link>
<pubDate>Thu, 14 Jan 2010 11:06:55 +0000</pubDate>
<dc:creator>Ian</dc:creator>
<guid isPermaLink="false">150@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Yeah, but you have output before you show the image :)&#60;/p&#62;
&#60;p&#62;Basically, you can't have ANY output whatsoever before showing the image.  You'll basically need to wrap the functionality in a script that you call from an img tag in your HTML.  Check out &#34;Showing Images&#34; on &#60;a href=&#34;http://wiki.github.com/masterexploder/PHPThumb/basic-usage&#34; rel=&#34;nofollow&#34;&#62;http://wiki.github.com/masterexploder/PHPThumb/basic-usage&#60;/a&#62; (towards the bottom of the page)&#60;/p&#62;
&#60;p&#62;As far as your image goes, that's actually Gravatar ;)
&#60;/p&#62;</description>
</item>
<item>
<title>leafy34 on "Header Restriction Errors"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/header-restriction-errors#post-148</link>
<pubDate>Wed, 13 Jan 2010 21:14:28 +0000</pubDate>
<dc:creator>leafy34</dc:creator>
<guid isPermaLink="false">148@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Oh, and how did the site manage to get a photo of me? hahaha... I most certainly didnt upload this... OpenID maybe?
&#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>

</channel>
</rss>
