<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1041279" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1041279</link>
    <description></description>
    <language>en</language>
          <item>
    <title>So it sort of applies the</title>
    <link>https://www.webmaster-forums.net/web-design-and-graphics/imagick#comment-1230582</link>
    <description> &lt;p&gt;So it sort of applies the header to the img only.&lt;/p&gt;
&lt;p&gt;Cheers pr0gr4mm3r&lt;/p&gt;
 </description>
     <pubDate>Thu, 12 Jun 2008 16:35:16 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1230582 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>When you are calling it in</title>
    <link>https://www.webmaster-forums.net/web-design-and-graphics/imagick#comment-1230577</link>
    <description> &lt;p&gt;When you are calling it in an image tag, your browser treats it as a completely separate HTTP request.  So instead of thinking it as an include file, think of it as a separate request/instance altogether.&lt;/p&gt;
 </description>
     <pubDate>Thu, 12 Jun 2008 03:17:18 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1230577 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Excellent thanks, worked</title>
    <link>https://www.webmaster-forums.net/web-design-and-graphics/imagick#comment-1230573</link>
    <description> &lt;p&gt;Excellent thanks, worked perfectly.&lt;/p&gt;
&lt;p&gt;I used some url info on it as images to be displayed depends on member and member settings.&lt;/p&gt;
&lt;p&gt;I understand the header error, I knew it was coming before I tried the script, but why does sending more header info in an include file avoid the error?&lt;br /&gt;
The include file called by the IMG tag is still after headers are already sent.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
 </description>
     <pubDate>Wed, 11 Jun 2008 23:04:00 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1230573 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>You are probably getting</title>
    <link>https://www.webmaster-forums.net/web-design-and-graphics/imagick#comment-1230570</link>
    <description> &lt;p&gt;You are probably getting errors because you tried to send a header after sending output.&lt;/p&gt;
&lt;p&gt;You do have to output the raw image data, and you need to have a separate script for that.  Put that code in your original post in its own PHP file, and call it like it was an image from your main page:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;img src=&amp;quot;http://www.example.com/path/to/script.php&amp;quot; /&amp;gt;&lt;/code&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 11 Jun 2008 20:52:42 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1230570 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
