<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: On-The-Fly Dynamic Thumbnails with PHP</title>
	<atom:link href="http://www.digifuzz.net/archives/2008/06/on-the-fly-dynamic-thumbnails-with-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.digifuzz.net/archives/2008/06/on-the-fly-dynamic-thumbnails-with-php/</link>
	<description>diggin the fuzz for the masses</description>
	<lastBuildDate>Mon, 30 Jan 2012 17:42:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: zynga</title>
		<link>http://www.digifuzz.net/archives/2008/06/on-the-fly-dynamic-thumbnails-with-php/comment-page-1/#comment-20118</link>
		<dc:creator>zynga</dc:creator>
		<pubDate>Sat, 20 Mar 2010 06:42:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.digifuzz.net/?p=37#comment-20118</guid>
		<description>i probably would not have decided this had been trendy quite a few years ago but it&#039;s amusing precisely how age adjusts the means by which you perceive different ideas, thanks regarding the write-up it really is pleasing to browse some thing smart now and then instead of the regular nonsense mascarading as blogs on the net, i&#039;m going to enjoy a smattering of hands of zynga poker, take care</description>
		<content:encoded><![CDATA[<p>i probably would not have decided this had been trendy quite a few years ago but it&#8217;s amusing precisely how age adjusts the means by which you perceive different ideas, thanks regarding the write-up it really is pleasing to browse some thing smart now and then instead of the regular nonsense mascarading as blogs on the net, i&#8217;m going to enjoy a smattering of hands of zynga poker, take care</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.digifuzz.net/archives/2008/06/on-the-fly-dynamic-thumbnails-with-php/comment-page-1/#comment-19798</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sun, 07 Mar 2010 16:22:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.digifuzz.net/?p=37#comment-19798</guid>
		<description>Hi, It doesn&#039;t seem to work for me. I get no errors, it just displays nothing. I am dropping the following code in to my html:



Thats correct right?

Thanks

Chris</description>
		<content:encoded><![CDATA[<p>Hi, It doesn&#8217;t seem to work for me. I get no errors, it just displays nothing. I am dropping the following code in to my html:</p>
<p>Thats correct right?</p>
<p>Thanks</p>
<p>Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Latinosoft</title>
		<link>http://www.digifuzz.net/archives/2008/06/on-the-fly-dynamic-thumbnails-with-php/comment-page-1/#comment-16599</link>
		<dc:creator>Latinosoft</dc:creator>
		<pubDate>Sun, 01 Nov 2009 20:57:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.digifuzz.net/?p=37#comment-16599</guid>
		<description>Hi, it works very well, but you have a typo error over here:

imageline($img,0,0,$MAX_WIDTH,$MAX_HEIGHT,$c2);
imageline($img,$MAX_WIDTH,0,0,$MAX_HEIGHT,$c2);


The variable $c2 doesn&#039;t exists, it should be $c

Best regards from Colombia-SouthAmerica</description>
		<content:encoded><![CDATA[<p>Hi, it works very well, but you have a typo error over here:</p>
<p>imageline($img,0,0,$MAX_WIDTH,$MAX_HEIGHT,$c2);<br />
imageline($img,$MAX_WIDTH,0,0,$MAX_HEIGHT,$c2);</p>
<p>The variable $c2 doesn&#8217;t exists, it should be $c</p>
<p>Best regards from Colombia-SouthAmerica</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: digifuzz</title>
		<link>http://www.digifuzz.net/archives/2008/06/on-the-fly-dynamic-thumbnails-with-php/comment-page-1/#comment-15976</link>
		<dc:creator>digifuzz</dc:creator>
		<pubDate>Fri, 09 Oct 2009 19:30:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.digifuzz.net/?p=37#comment-15976</guid>
		<description>Essentially, you call it like this:

&lt;code&gt;
&lt; img src=&quot;/thumbnailer.php?img=/site_images/image.jpg&amp;height=300&amp;width=300&quot; /&gt;
&lt;/code&gt;

does that make sense?

And the BASE URL is just what it sounds like, what its set to depends on how you wish to use it.  If all your image files will forever be located in http://www.yoursite.com/site_images/ then that would be your BASE URL and you could call it like: src=&quot;/thumbnailer.php?img=image.jpg&amp;height=300&amp;width=300&quot;.  Otherwise, if you will vary where the image is coming from, then you can just specify your BASE URL to be http://www.yoursite.com and call it as shown in my first example.

Good luck.</description>
		<content:encoded><![CDATA[<p>Essentially, you call it like this:</p>
<p><code><br />
< img src="/thumbnailer.php?img=/site_images/image.jpg&#038;height=300&#038;width=300" /><br />
</code></p>
<p>does that make sense?</p>
<p>And the BASE URL is just what it sounds like, what its set to depends on how you wish to use it.  If all your image files will forever be located in <a href="http://www.yoursite.com/site_images/" rel="nofollow">http://www.yoursite.com/site_images/</a> then that would be your BASE URL and you could call it like: src=&#8221;/thumbnailer.php?img=image.jpg&#038;height=300&#038;width=300&#8243;.  Otherwise, if you will vary where the image is coming from, then you can just specify your BASE URL to be <a href="http://www.yoursite.com" rel="nofollow">http://www.yoursite.com</a> and call it as shown in my first example.</p>
<p>Good luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Børge Jakobsen</title>
		<link>http://www.digifuzz.net/archives/2008/06/on-the-fly-dynamic-thumbnails-with-php/comment-page-1/#comment-15888</link>
		<dc:creator>Børge Jakobsen</dc:creator>
		<pubDate>Wed, 07 Oct 2009 00:50:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.digifuzz.net/?p=37#comment-15888</guid>
		<description>I can&#039;t get this to work at all. Anyone got it working?</description>
		<content:encoded><![CDATA[<p>I can&#8217;t get this to work at all. Anyone got it working?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.digifuzz.net/archives/2008/06/on-the-fly-dynamic-thumbnails-with-php/comment-page-1/#comment-15537</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Mon, 21 Sep 2009 03:43:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.digifuzz.net/?p=37#comment-15537</guid>
		<description>LOL, great site looking through many things you have published.  Just a little lost on how this is working.

I tried as directions show but a little messed up on base url and image url setup.

whether the $IMAGE_BASE  is the site url or the site url with /images/ tagged on it.  is there a zip working of this that I can download

thanks.

Mark.</description>
		<content:encoded><![CDATA[<p>LOL, great site looking through many things you have published.  Just a little lost on how this is working.</p>
<p>I tried as directions show but a little messed up on base url and image url setup.</p>
<p>whether the $IMAGE_BASE  is the site url or the site url with /images/ tagged on it.  is there a zip working of this that I can download</p>
<p>thanks.</p>
<p>Mark.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: m@</title>
		<link>http://www.digifuzz.net/archives/2008/06/on-the-fly-dynamic-thumbnails-with-php/comment-page-1/#comment-13940</link>
		<dc:creator>m@</dc:creator>
		<pubDate>Fri, 31 Jul 2009 00:06:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.digifuzz.net/?p=37#comment-13940</guid>
		<description>doesnt work with filenames with spaces... its not 1990 anymore yo!</description>
		<content:encoded><![CDATA[<p>doesnt work with filenames with spaces&#8230; its not 1990 anymore yo!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K. B. McHugh</title>
		<link>http://www.digifuzz.net/archives/2008/06/on-the-fly-dynamic-thumbnails-with-php/comment-page-1/#comment-12957</link>
		<dc:creator>K. B. McHugh</dc:creator>
		<pubDate>Wed, 17 Jun 2009 08:43:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.digifuzz.net/?p=37#comment-12957</guid>
		<description>I understand the script, but I&#039;m not understanding how to use it.  Too new to Apache and too used to ASP.Net, I reckon.  I don&#039;t really know how to find the problem.

The script runs without errors, but using an image link as described in the example link, above, I don&#039;t seem to be passing any parameters and get the &quot;FILE NOT FOUND&quot; message (I&#039;m apparently not passing the image_width and _height parameters, also; slight changes to die without a width or height shows they aren&#039;t being passsed to dfn_thumbnailer, too.

But when I hard-code the image name in the thumbnailer script, I get a text-view version of the page for output.

If you would not mind, could you give a bit more detail about how this is used for the stone dumb like me?

Thanks.</description>
		<content:encoded><![CDATA[<p>I understand the script, but I&#8217;m not understanding how to use it.  Too new to Apache and too used to ASP.Net, I reckon.  I don&#8217;t really know how to find the problem.</p>
<p>The script runs without errors, but using an image link as described in the example link, above, I don&#8217;t seem to be passing any parameters and get the &#8220;FILE NOT FOUND&#8221; message (I&#8217;m apparently not passing the image_width and _height parameters, also; slight changes to die without a width or height shows they aren&#8217;t being passsed to dfn_thumbnailer, too.</p>
<p>But when I hard-code the image name in the thumbnailer script, I get a text-view version of the page for output.</p>
<p>If you would not mind, could you give a bit more detail about how this is used for the stone dumb like me?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damin Assad</title>
		<link>http://www.digifuzz.net/archives/2008/06/on-the-fly-dynamic-thumbnails-with-php/comment-page-1/#comment-12504</link>
		<dc:creator>Damin Assad</dc:creator>
		<pubDate>Thu, 14 May 2009 07:35:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.digifuzz.net/?p=37#comment-12504</guid>
		<description>Hey,

This is brilliant.
Thanks a lot.</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>This is brilliant.<br />
Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kguske</title>
		<link>http://www.digifuzz.net/archives/2008/06/on-the-fly-dynamic-thumbnails-with-php/comment-page-1/#comment-11727</link>
		<dc:creator>kguske</dc:creator>
		<pubDate>Sun, 05 Apr 2009 02:40:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.digifuzz.net/?p=37#comment-11727</guid>
		<description>Nice!

To be safe / prevent root path disclosure, you might put intval around the mw and mh variables before using them, and using a file_exists on the file</description>
		<content:encoded><![CDATA[<p>Nice!</p>
<p>To be safe / prevent root path disclosure, you might put intval around the mw and mh variables before using them, and using a file_exists on the file</p>
]]></content:encoded>
	</item>
</channel>
</rss>

