<?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: A Nice and Simple Photo Gallery Solution for MODx</title>
	<atom:link href="http://alistairrobinson.co.uk/a-nice-and-simple-photo-gallery-solution-for-modx/feed/" rel="self" type="application/rss+xml" />
	<link>http://alistairrobinson.co.uk/a-nice-and-simple-photo-gallery-solution-for-modx/</link>
	<description></description>
	<lastBuildDate>Mon, 02 Aug 2010 18:47:40 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alistair</title>
		<link>http://alistairrobinson.co.uk/a-nice-and-simple-photo-gallery-solution-for-modx/comment-page-1/#comment-698</link>
		<dc:creator>Alistair</dc:creator>
		<pubDate>Sat, 29 May 2010 09:37:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.alistairrobinson.co.uk/blog/?p=828#comment-698</guid>
		<description>Hi microcipcip, yes, that&#039;s what this solution does, using THUMB_WIDTH and THUMB_HEIGHT.</description>
		<content:encoded><![CDATA[<p>Hi microcipcip, yes, that&#8217;s what this solution does, using THUMB_WIDTH and THUMB_HEIGHT.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: microcipcip</title>
		<link>http://alistairrobinson.co.uk/a-nice-and-simple-photo-gallery-solution-for-modx/comment-page-1/#comment-696</link>
		<dc:creator>microcipcip</dc:creator>
		<pubDate>Sat, 29 May 2010 06:36:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.alistairrobinson.co.uk/blog/?p=828#comment-696</guid>
		<description>Hi Alistair, I am looking for a way to create thumbs with the same size (for example all thumb squared), no matter if the original image is vertical or horizontal.  Because the tutorial is quite long, can you tell me if this is the case?
Thanks</description>
		<content:encoded><![CDATA[<p>Hi Alistair, I am looking for a way to create thumbs with the same size (for example all thumb squared), no matter if the original image is vertical or horizontal.  Because the tutorial is quite long, can you tell me if this is the case?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alistair</title>
		<link>http://alistairrobinson.co.uk/a-nice-and-simple-photo-gallery-solution-for-modx/comment-page-1/#comment-348</link>
		<dc:creator>Alistair</dc:creator>
		<pubDate>Sun, 18 Apr 2010 15:53:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.alistairrobinson.co.uk/blog/?p=828#comment-348</guid>
		<description>Hi Guido

utility.php is just a file that I created. It contains various helper functions - which I also created - such as get_tv_value, which is shown above. It&#039;s just my way of getting the TV value.</description>
		<content:encoded><![CDATA[<p>Hi Guido</p>
<p>utility.php is just a file that I created. It contains various helper functions &#8211; which I also created &#8211; such as get_tv_value, which is shown above. It&#8217;s just my way of getting the TV value.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guido</title>
		<link>http://alistairrobinson.co.uk/a-nice-and-simple-photo-gallery-solution-for-modx/comment-page-1/#comment-347</link>
		<dc:creator>Guido</dc:creator>
		<pubDate>Sun, 18 Apr 2010 15:30:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.alistairrobinson.co.uk/blog/?p=828#comment-347</guid>
		<description>In your story above, you named utility.php, where can i find file.</description>
		<content:encoded><![CDATA[<p>In your story above, you named utility.php, where can i find file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alistair</title>
		<link>http://alistairrobinson.co.uk/a-nice-and-simple-photo-gallery-solution-for-modx/comment-page-1/#comment-312</link>
		<dc:creator>Alistair</dc:creator>
		<pubDate>Tue, 13 Apr 2010 10:50:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.alistairrobinson.co.uk/blog/?p=828#comment-312</guid>
		<description>Hi Marcus

Maybe instead of using the constants in config.php you could calculate the desired dimensions on the basis of the original ones by dividing both dimensions by your scale factor, whatever it might be. You could also incorporate a maximum into that calculation, probably.

Then you can pass those calculated dimensions to ImageHelper::resizeImage.

Does that make sense?</description>
		<content:encoded><![CDATA[<p>Hi Marcus</p>
<p>Maybe instead of using the constants in config.php you could calculate the desired dimensions on the basis of the original ones by dividing both dimensions by your scale factor, whatever it might be. You could also incorporate a maximum into that calculation, probably.</p>
<p>Then you can pass those calculated dimensions to ImageHelper::resizeImage.</p>
<p>Does that make sense?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus N</title>
		<link>http://alistairrobinson.co.uk/a-nice-and-simple-photo-gallery-solution-for-modx/comment-page-1/#comment-311</link>
		<dc:creator>Marcus N</dc:creator>
		<pubDate>Tue, 13 Apr 2010 09:43:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.alistairrobinson.co.uk/blog/?p=828#comment-311</guid>
		<description>Thanx alot!  ....How ever, I don&#039;t get the resizing of the body_image to work the way I want. The ImageHelper.php seems to beable to do a resizing with correct aspect ratio but then crops it to 300*225 (if landscape). But if I dont want it to have the same aspect ratio on all images, is it possible to instead have a &#039;maximum&#039; size, lets say 300px, on either aspect instead?

all the best.
marcus</description>
		<content:encoded><![CDATA[<p>Thanx alot!  &#8230;.How ever, I don&#8217;t get the resizing of the body_image to work the way I want. The ImageHelper.php seems to beable to do a resizing with correct aspect ratio but then crops it to 300*225 (if landscape). But if I dont want it to have the same aspect ratio on all images, is it possible to instead have a &#8216;maximum&#8217; size, lets say 300px, on either aspect instead?</p>
<p>all the best.<br />
marcus</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alistair Robinson</title>
		<link>http://alistairrobinson.co.uk/a-nice-and-simple-photo-gallery-solution-for-modx/comment-page-1/#comment-140</link>
		<dc:creator>Alistair Robinson</dc:creator>
		<pubDate>Fri, 26 Feb 2010 08:58:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.alistairrobinson.co.uk/blog/?p=828#comment-140</guid>
		<description>Danny and Dimmy: thanks.

I&#039;ve updated the post to point out the MODx version.</description>
		<content:encoded><![CDATA[<p>Danny and Dimmy: thanks.</p>
<p>I&#8217;ve updated the post to point out the MODx version.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dimmy</title>
		<link>http://alistairrobinson.co.uk/a-nice-and-simple-photo-gallery-solution-for-modx/comment-page-1/#comment-139</link>
		<dc:creator>Dimmy</dc:creator>
		<pubDate>Fri, 26 Feb 2010 07:56:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.alistairrobinson.co.uk/blog/?p=828#comment-139</guid>
		<description>Nice work!

one small thing that this only works on evo from 1.x because in the 09x versions the tv names are the actual names you give them (in the plugin) so this: $upload_file = $_REQUEST[&#039;tv&#039;.$gal_var[&#039;id&#039;]]; would not work in older versions.

Dimmy</description>
		<content:encoded><![CDATA[<p>Nice work!</p>
<p>one small thing that this only works on evo from 1.x because in the 09x versions the tv names are the actual names you give them (in the plugin) so this: $upload_file = $_REQUEST['tv'.$gal_var['id']]; would not work in older versions.</p>
<p>Dimmy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny</title>
		<link>http://alistairrobinson.co.uk/a-nice-and-simple-photo-gallery-solution-for-modx/comment-page-1/#comment-138</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Thu, 25 Feb 2010 15:08:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.alistairrobinson.co.uk/blog/?p=828#comment-138</guid>
		<description>Great post, really useful solution for a common problem. Keep up the good work!</description>
		<content:encoded><![CDATA[<p>Great post, really useful solution for a common problem. Keep up the good work!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
