<?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>Kommentarer til: Faster image scaling within TYPO3 extension</title>
	<atom:link href="http://huuah.com/faster-image-scaling-within-typo3-extension/feed/" rel="self" type="application/rss+xml" />
	<link>http://huuah.com/faster-image-scaling-within-typo3-extension/</link>
	<description>webdevelopment, cms, php, javascript etc</description>
	<lastBuildDate>Thu, 17 May 2012 16:08:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Af: js - huuah</title>
		<link>http://huuah.com/faster-image-scaling-within-typo3-extension/comment-page-1/#comment-751</link>
		<dc:creator>js - huuah</dc:creator>
		<pubDate>Mon, 10 Jan 2011 17:50:05 +0000</pubDate>
		<guid isPermaLink="false">http://huuah.com/?p=387#comment-751</guid>
		<description>Stephan: Thank you very much for sharing your article - I really appreciate the feedback.</description>
		<content:encoded><![CDATA[<p>Stephan: Thank you very much for sharing your article &#8211; I really appreciate the feedback.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: Stephan Petzl</title>
		<link>http://huuah.com/faster-image-scaling-within-typo3-extension/comment-page-1/#comment-750</link>
		<dc:creator>Stephan Petzl</dc:creator>
		<pubDate>Mon, 10 Jan 2011 15:24:17 +0000</pubDate>
		<guid isPermaLink="false">http://huuah.com/?p=387#comment-750</guid>
		<description>Finally found time to write some lines about this topic. Maybe you figured it out for yourself, but anyway :)
http://www.ajado.com/blog/how-to-make-a-typo3-extension-configurable/

BR Steph</description>
		<content:encoded><![CDATA[<p>Finally found time to write some lines about this topic. Maybe you figured it out for yourself, but anyway <img src='http://huuah.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<a href="http://www.ajado.com/blog/how-to-make-a-typo3-extension-configurable/" rel="nofollow">http://www.ajado.com/blog/how-to-make-a-typo3-extension-configurable/</a></p>
<p>BR Steph</p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: js - huuah</title>
		<link>http://huuah.com/faster-image-scaling-within-typo3-extension/comment-page-1/#comment-515</link>
		<dc:creator>js - huuah</dc:creator>
		<pubDate>Wed, 21 Jul 2010 16:05:25 +0000</pubDate>
		<guid isPermaLink="false">http://huuah.com/?p=387#comment-515</guid>
		<description>Att. Stephan Petzl

When I did the performance testing, I was getting very long respons times when only using the IMG_RESOURCE method. I will try and see if I can set aside some time, to make a more in-depth test and I will ofcourse post the result here.

Perhaps you could tell me a bit more, why you think accessing the configuration variable directly is a no-go? Thank you.</description>
		<content:encoded><![CDATA[<p>Att. Stephan Petzl</p>
<p>When I did the performance testing, I was getting very long respons times when only using the IMG_RESOURCE method. I will try and see if I can set aside some time, to make a more in-depth test and I will ofcourse post the result here.</p>
<p>Perhaps you could tell me a bit more, why you think accessing the configuration variable directly is a no-go? Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: Stephan Petzl</title>
		<link>http://huuah.com/faster-image-scaling-within-typo3-extension/comment-page-1/#comment-514</link>
		<dc:creator>Stephan Petzl</dc:creator>
		<pubDate>Wed, 21 Jul 2010 13:46:35 +0000</pubDate>
		<guid isPermaLink="false">http://huuah.com/?p=387#comment-514</guid>
		<description>as far as i know, you dont need this kind of caching stuff, since typo3 has built in caching for images. method $this-&gt;cObj-&gt;IMG_RESOURCE($imageConf) will check whether there is already a cached image in the temp folder. 

and doing something like this, is a real no-go for extensions:
$imageConf[&#039;file&#039;] = $row[image];
$imageConf[&#039;file.&#039;][&#039;maxH&#039;] = $this-&gt;conf[largeMaxH];
$imageConf[&#039;file.&#039;][&#039;maxW&#039;] = $this-&gt;conf[largeMaxW];

create your configuration in typoscript instead and use it directly!
like:

$this-&gt;cObj-&gt;start($row);
$content = $this-&gt;cObj-&gt;cObjGetSingle($this-&gt;conf[&#039;myconfig&#039;],$this-&gt;conf[&#039;myconfig.&#039;]);

thats far more reusable!</description>
		<content:encoded><![CDATA[<p>as far as i know, you dont need this kind of caching stuff, since typo3 has built in caching for images. method $this-&gt;cObj-&gt;IMG_RESOURCE($imageConf) will check whether there is already a cached image in the temp folder. </p>
<p>and doing something like this, is a real no-go for extensions:<br />
$imageConf['file'] = $row[image];<br />
$imageConf['file.']['maxH'] = $this-&gt;conf[largeMaxH];<br />
$imageConf['file.']['maxW'] = $this-&gt;conf[largeMaxW];</p>
<p>create your configuration in typoscript instead and use it directly!<br />
like:</p>
<p>$this-&gt;cObj-&gt;start($row);<br />
$content = $this-&gt;cObj-&gt;cObjGetSingle($this-&gt;conf['myconfig'],$this-&gt;conf['myconfig.']);</p>
<p>thats far more reusable!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: js - huuah</title>
		<link>http://huuah.com/faster-image-scaling-within-typo3-extension/comment-page-1/#comment-211</link>
		<dc:creator>js - huuah</dc:creator>
		<pubDate>Wed, 25 Nov 2009 06:08:50 +0000</pubDate>
		<guid isPermaLink="false">http://huuah.com/?p=387#comment-211</guid>
		<description>Hello Yannick

I think it depends on how you are using the cache function. The way I use the code is by repeating it for every single image and then save the $cached variable as a serialized object in my database. That way it doesn&#039;t comflict with the next image being resized.

JS</description>
		<content:encoded><![CDATA[<p>Hello Yannick</p>
<p>I think it depends on how you are using the cache function. The way I use the code is by repeating it for every single image and then save the $cached variable as a serialized object in my database. That way it doesn&#8217;t comflict with the next image being resized.</p>
<p>JS</p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: Yannick</title>
		<link>http://huuah.com/faster-image-scaling-within-typo3-extension/comment-page-1/#comment-209</link>
		<dc:creator>Yannick</dc:creator>
		<pubDate>Wed, 25 Nov 2009 01:11:28 +0000</pubDate>
		<guid isPermaLink="false">http://huuah.com/?p=387#comment-209</guid>
		<description>Hello,

What about another dimension like so:
$cached[$this-&gt;conf[thumbnailMaxW]][$this-&gt;conf[thumbnailMaxH]][] = $thumbnailImage;

instead ? This would prevent images that have the same dimensions from overwriting your array.

Cheers</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>What about another dimension like so:<br />
$cached[$this-&gt;conf[thumbnailMaxW]][$this-&gt;conf[thumbnailMaxH]][] = $thumbnailImage;</p>
<p>instead ? This would prevent images that have the same dimensions from overwriting your array.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
</channel>
</rss>

