<?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: Flex Scale Image to Max Dimension</title>
	<atom:link href="http://www.bensnider.com/2010/01/11/flex-scale-image-to-max-dimension/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bensnider.com/2010/01/11/flex-scale-image-to-max-dimension/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 30 Aug 2010 23:21:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: bleedow</title>
		<link>http://www.bensnider.com/2010/01/11/flex-scale-image-to-max-dimension/comment-page-1/#comment-5576</link>
		<dc:creator>bleedow</dc:creator>
		<pubDate>Mon, 24 May 2010 07:57:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.bensnider.com/?p=87#comment-5576</guid>
		<description>Hi Ben!
This is exactly what I was looking for. Recently I realized that maxHeight and maxWidth are not working properly in dynamic layouts...

I don&#039;t know if this line is correct:
scaleH = maxWidth / img.width;

I think it should be:
scaleH = maxWidth / img.content.width;

Thanks again :)</description>
		<content:encoded><![CDATA[<p>Hi Ben!<br />
This is exactly what I was looking for. Recently I realized that maxHeight and maxWidth are not working properly in dynamic layouts&#8230;</p>
<p>I don&#8217;t know if this line is correct:<br />
scaleH = maxWidth / img.width;</p>
<p>I think it should be:<br />
scaleH = maxWidth / img.content.width;</p>
<p>Thanks again <img src='http://www.bensnider.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
