<?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>Commenti a: On the fly thumbnails generation with PHP</title>
	<atom:link href="http://www.itopen.it/2006/02/03/on-the-fly-thumbnails-generation-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.itopen.it/2006/02/03/on-the-fly-thumbnails-generation-php/</link>
	<description>[lang_en]Open Web Solutions: WebGis, Open Source development[/lang_en][lang_it]Soluzioni WebGIS e sviluppo software Open Source[lang_it]</description>
	<lastBuildDate>Wed, 11 Jan 2012 17:21:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Di: Simon Poulston</title>
		<link>http://www.itopen.it/2006/02/03/on-the-fly-thumbnails-generation-php/comment-page-1/#comment-18679</link>
		<dc:creator>Simon Poulston</dc:creator>
		<pubDate>Thu, 09 Feb 2012 16:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.itopen.it/?p=46#comment-18679</guid>
		<description>Hi,

This code is good, however, I found that I got a much better image by using:

imagecopyresampled

instead of

imagecopyresized

I think that this may be due to the fact that I am using s GD version above 2.

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>This code is good, however, I found that I got a much better image by using:</p>
<p>imagecopyresampled</p>
<p>instead of</p>
<p>imagecopyresized</p>
<p>I think that this may be due to the fact that I am using s GD version above 2.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: bLuefRogX</title>
		<link>http://www.itopen.it/2006/02/03/on-the-fly-thumbnails-generation-php/comment-page-1/#comment-17718</link>
		<dc:creator>bLuefRogX</dc:creator>
		<pubDate>Thu, 09 Feb 2012 22:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.itopen.it/?p=46#comment-17718</guid>
		<description>Its not just disk space, it provides a better surfing experience for users as the pages load faster.</description>
		<content:encoded><![CDATA[<p>Its not just disk space, it provides a better surfing experience for users as the pages load faster.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Alessandro Pasotti</title>
		<link>http://www.itopen.it/2006/02/03/on-the-fly-thumbnails-generation-php/comment-page-1/#comment-13786</link>
		<dc:creator>Alessandro Pasotti</dc:creator>
		<pubDate>Thu, 09 Feb 2012 09:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.itopen.it/?p=46#comment-13786</guid>
		<description>Thanks to both commenters!

@dgm: the world is large, in my (very limited) experience disk space is the bottleneck, but of course it may vary depending on the number of page views and many other factors.

In case CPU is limited (or is the bottleneck), I would follow Dirk&#039;s advice  (and I really did it in a few projects).</description>
		<content:encoded><![CDATA[<p>Thanks to both commenters!</p>
<p>@dgm: the world is large, in my (very limited) experience disk space is the bottleneck, but of course it may vary depending on the number of page views and many other factors.</p>
<p>In case CPU is limited (or is the bottleneck), I would follow Dirk&#8217;s advice  (and I really did it in a few projects).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Dirk</title>
		<link>http://www.itopen.it/2006/02/03/on-the-fly-thumbnails-generation-php/comment-page-1/#comment-13524</link>
		<dc:creator>Dirk</dc:creator>
		<pubDate>Thu, 09 Feb 2012 21:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.itopen.it/?p=46#comment-13524</guid>
		<description>You forgot caching. Generating thumbs always new causes high CPU load. Ah, forgot, CPU is unlimited :-)
But in case CPU power is limited:
build something like md5($name . $date . $widthNew . $heightNew) . &quot;.jpg&quot;, write it as file and before generating a new thumb check if this filename is present already.</description>
		<content:encoded><![CDATA[<p>You forgot caching. Generating thumbs always new causes high CPU load. Ah, forgot, CPU is unlimited <img src='http://www.itopen.it/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
But in case CPU power is limited:<br />
build something like md5($name . $date . $widthNew . $heightNew) . &#8220;.jpg&#8221;, write it as file and before generating a new thumb check if this filename is present already.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: DGM</title>
		<link>http://www.itopen.it/2006/02/03/on-the-fly-thumbnails-generation-php/comment-page-1/#comment-13264</link>
		<dc:creator>DGM</dc:creator>
		<pubDate>Thu, 09 Feb 2012 16:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.itopen.it/?p=46#comment-13264</guid>
		<description>Many shared hosting problems have CPU sharing problems, but lots of disk space, the opposite of what you describe...</description>
		<content:encoded><![CDATA[<p>Many shared hosting problems have CPU sharing problems, but lots of disk space, the opposite of what you describe&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

