<?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: Auto Restrain/resize images with Javascript</title>
	<atom:link href="http://www.designcodeexecute.com/2008/04/19/auto-restrainresize-images-with-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.designcodeexecute.com/2008/04/19/auto-restrainresize-images-with-javascript/</link>
	<description>Design Tips, Tricks, Hacks for Web Development, Windows and OS X</description>
	<lastBuildDate>Wed, 28 Dec 2011 01:47:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Anwar</title>
		<link>http://www.designcodeexecute.com/2008/04/19/auto-restrainresize-images-with-javascript/comment-page-1/#comment-1934</link>
		<dc:creator>Anwar</dc:creator>
		<pubDate>Thu, 13 Oct 2011 15:10:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.designcodeexecute.com/?p=106#comment-1934</guid>
		<description>This is my Insert Code




This is my add page






DCTC

&lt;!–
function resize_images()
{
for (i = 0; i  100 )
{
document.images[i].width = 100;
}
}
}
//–&gt;












&#160;
&#160;


Album Name 



&lt;option value=&quot;&quot;&gt;  
	




Images





&#160;










&#160;





 I want photo resize suggestion</description>
		<content:encoded><![CDATA[<p>This is my Insert Code</p>
<p>This is my add page</p>
<p>DCTC</p>
<p>&lt;!–<br />
function resize_images()<br />
{<br />
for (i = 0; i  100 )<br />
{<br />
document.images[i].width = 100;<br />
}<br />
}<br />
}<br />
//–&gt;</p>
<p>&nbsp;<br />
&nbsp;</p>
<p>Album Name </p>
<p>&lt;option value=&quot;&#8221;&gt;  </p>
<p>Images</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p> I want photo resize suggestion</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anwar</title>
		<link>http://www.designcodeexecute.com/2008/04/19/auto-restrainresize-images-with-javascript/comment-page-1/#comment-1933</link>
		<dc:creator>Anwar</dc:creator>
		<pubDate>Wed, 12 Oct 2011 17:24:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.designcodeexecute.com/?p=106#comment-1933</guid>
		<description>




DCTC

&lt;!–
function resize_images()
{
for (i = 0; i  100 )
{
document.images[i].width = 100;
}
}
}
//–&gt;












&#160;
&#160;


Album Name 



&lt;option value=&quot;&quot;&gt;  
	




Images





&#160;










&#160;







I dont understand to resize image</description>
		<content:encoded><![CDATA[<p>DCTC</p>
<p>&lt;!–<br />
function resize_images()<br />
{<br />
for (i = 0; i  100 )<br />
{<br />
document.images[i].width = 100;<br />
}<br />
}<br />
}<br />
//–&gt;</p>
<p>&nbsp;<br />
&nbsp;</p>
<p>Album Name </p>
<p>&lt;option value=&quot;&#8221;&gt;  </p>
<p>Images</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>I dont understand to resize image</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Buzzknow</title>
		<link>http://www.designcodeexecute.com/2008/04/19/auto-restrainresize-images-with-javascript/comment-page-1/#comment-1844</link>
		<dc:creator>Buzzknow</dc:creator>
		<pubDate>Tue, 19 Oct 2010 00:53:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.designcodeexecute.com/?p=106#comment-1844</guid>
		<description>nice script

@michael
for avoid error i in FF then you need to define &quot;i&quot; itself like this

for (var i = 0; i &lt; 10; i++)

regards</description>
		<content:encoded><![CDATA[<p>nice script</p>
<p>@michael<br />
for avoid error i in FF then you need to define &#8220;i&#8221; itself like this</p>
<p>for (var i = 0; i &lt; 10; i++)</p>
<p>regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruce</title>
		<link>http://www.designcodeexecute.com/2008/04/19/auto-restrainresize-images-with-javascript/comment-page-1/#comment-1828</link>
		<dc:creator>Bruce</dc:creator>
		<pubDate>Wed, 19 May 2010 14:42:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.designcodeexecute.com/?p=106#comment-1828</guid>
		<description>Nice simple script. Only iussue I have is an IE 7 script error which states:

Message: &#039;document.images[...].complete&#039; is null or not an object

Any suggestions?</description>
		<content:encoded><![CDATA[<p>Nice simple script. Only iussue I have is an IE 7 script error which states:</p>
<p>Message: &#8216;document.images[...].complete&#8217; is null or not an object</p>
<p>Any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kuba</title>
		<link>http://www.designcodeexecute.com/2008/04/19/auto-restrainresize-images-with-javascript/comment-page-1/#comment-1784</link>
		<dc:creator>kuba</dc:creator>
		<pubDate>Thu, 18 Feb 2010 12:32:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.designcodeexecute.com/?p=106#comment-1784</guid>
		<description>@ardeay could give an example how to do it? I&#039;m interested too to change the script so it could work with selected images on web page, not all of theme.
Maybe the author could give a hand? :)</description>
		<content:encoded><![CDATA[<p>@ardeay could give an example how to do it? I&#8217;m interested too to change the script so it could work with selected images on web page, not all of theme.<br />
Maybe the author could give a hand? <img src='http://www.designcodeexecute.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ardeay</title>
		<link>http://www.designcodeexecute.com/2008/04/19/auto-restrainresize-images-with-javascript/comment-page-1/#comment-1703</link>
		<dc:creator>ardeay</dc:creator>
		<pubDate>Sat, 29 Aug 2009 03:20:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.designcodeexecute.com/?p=106#comment-1703</guid>
		<description>@roberto bive the image an id the use getElementById</description>
		<content:encoded><![CDATA[<p>@roberto bive the image an id the use getElementById</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sahibinden</title>
		<link>http://www.designcodeexecute.com/2008/04/19/auto-restrainresize-images-with-javascript/comment-page-1/#comment-1695</link>
		<dc:creator>sahibinden</dc:creator>
		<pubDate>Thu, 20 Aug 2009 19:22:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.designcodeexecute.com/?p=106#comment-1695</guid>
		<description>Teşekkürler designcodeexecute.com sayenizde tasarımlarıma renk katıyorum:)</description>
		<content:encoded><![CDATA[<p>Teşekkürler designcodeexecute.com sayenizde tasarımlarıma renk katıyorum:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: العاب</title>
		<link>http://www.designcodeexecute.com/2008/04/19/auto-restrainresize-images-with-javascript/comment-page-1/#comment-1687</link>
		<dc:creator>العاب</dc:creator>
		<pubDate>Wed, 03 Jun 2009 15:03:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.designcodeexecute.com/?p=106#comment-1687</guid>
		<description>Thank you,
Look for the code, the time</description>
		<content:encoded><![CDATA[<p>Thank you,<br />
Look for the code, the time</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roberto</title>
		<link>http://www.designcodeexecute.com/2008/04/19/auto-restrainresize-images-with-javascript/comment-page-1/#comment-1685</link>
		<dc:creator>Roberto</dc:creator>
		<pubDate>Sat, 16 May 2009 07:41:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.designcodeexecute.com/?p=106#comment-1685</guid>
		<description>great script - it worked fine, but if i want to change one particluar image - what can i do?</description>
		<content:encoded><![CDATA[<p>great script &#8211; it worked fine, but if i want to change one particluar image &#8211; what can i do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.designcodeexecute.com/2008/04/19/auto-restrainresize-images-with-javascript/comment-page-1/#comment-1674</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 16 Jan 2009 16:03:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.designcodeexecute.com/?p=106#comment-1674</guid>
		<description>Hi, great tutorial; I can&#039;t seem to get it running under IE7 either.  Firefox worked like a charm, any ideas?</description>
		<content:encoded><![CDATA[<p>Hi, great tutorial; I can&#8217;t seem to get it running under IE7 either.  Firefox worked like a charm, any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.designcodeexecute.com/2008/04/19/auto-restrainresize-images-with-javascript/comment-page-1/#comment-1664</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 18 Nov 2008 14:56:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.designcodeexecute.com/?p=106#comment-1664</guid>
		<description>Thanks for the reply. I changed the amount of images to resize from 10 to 9 and it seemed to fix the issue. So Im thinking it may have been with the 2 digits. So instead of:

for (i = 0; i &lt; 10; i++)

I used

for (i = 0; i &lt; 9; i++)

and I didnt receive an IE7 error. Firefox works either way.</description>
		<content:encoded><![CDATA[<p>Thanks for the reply. I changed the amount of images to resize from 10 to 9 and it seemed to fix the issue. So Im thinking it may have been with the 2 digits. So instead of:</p>
<p>for (i = 0; i &lt; 10; i++)</p>
<p>I used</p>
<p>for (i = 0; i &lt; 9; i++)</p>
<p>and I didnt receive an IE7 error. Firefox works either way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ardeay</title>
		<link>http://www.designcodeexecute.com/2008/04/19/auto-restrainresize-images-with-javascript/comment-page-1/#comment-1663</link>
		<dc:creator>ardeay</dc:creator>
		<pubDate>Mon, 17 Nov 2008 15:34:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.designcodeexecute.com/?p=106#comment-1663</guid>
		<description>Do you have a link to where you are using it?</description>
		<content:encoded><![CDATA[<p>Do you have a link to where you are using it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.designcodeexecute.com/2008/04/19/auto-restrainresize-images-with-javascript/comment-page-1/#comment-1660</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 12 Nov 2008 16:20:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.designcodeexecute.com/?p=106#comment-1660</guid>
		<description>Nice simple script. Only iussue I have is an IE 7 script error which states:

Message: &#039;document.images[...].complete&#039; is null or not an object

Any suggestions?</description>
		<content:encoded><![CDATA[<p>Nice simple script. Only iussue I have is an IE 7 script error which states:</p>
<p>Message: &#8216;document.images[...].complete&#8217; is null or not an object</p>
<p>Any suggestions?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

