<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<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">
	<channel>
		<title>Gravity Support Forums Topic: Change image size live when form field entered</title>
		<link>https://legacy.forums.gravityhelp.com/topic/change-image-size-live-when-form-field-entered</link>
		<description>Gravity Support Forums Topic: Change image size live when form field entered</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 12:05:38 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/change-image-size-live-when-form-field-entered" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Change image size live when form field entered"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-image-size-live-when-form-field-entered#post-69454</link>
			<pubDate>Fri, 03 Aug 2012 22:32:26 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">69454@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is that working for you now or do you need to me to take a look again?  I forget where we were with this one.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Touchm on "Change image size live when form field entered"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-image-size-live-when-form-field-entered#post-69116</link>
			<pubDate>Thu, 02 Aug 2012 07:50:56 +0000</pubDate>
			<dc:creator>Touchm</dc:creator>
			<guid isPermaLink="false">69116@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;new code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;img class=&#38;quot;sbimg&#38;quot; id=&#38;quot;sbimg&#38;quot; src=&#38;quot;/wp-content/uploads/2012/06/AAF-Splashback-Black-Gloss-Splashback-Full-No-Handle-200x200.jpg&#38;quot; width=&#38;quot;200&#38;quot; height=&#38;quot;200&#38;quot;&#38;gt;
&#38;lt;script&#38;gt;
$(function width(){
  $(&#38;#39;#input_9_2&#38;#39;).keydown(function(){
    setTimeout(function() {
      $(&#38;#39;#input_9_2&#38;#39;).val();
    }, 50);
  });
});
$(function height(){
  $(&#38;#39;#input_9_3&#38;#39;).keydown(function(){
    setTimeout(function() {
     $(&#38;#39;#input_9_3&#38;#39;).val();
    }, 50);
  });
});
var photo = document.getElementById(&#38;#39;sbimg&#38;#39;);
var photoWidth = width();
var photoHeight = height();
photo.width = photoWidth;
photo.height = photoHeight;
&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Touchm on "Change image size live when form field entered"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-image-size-live-when-form-field-entered#post-69115</link>
			<pubDate>Thu, 02 Aug 2012 07:49:39 +0000</pubDate>
			<dc:creator>Touchm</dc:creator>
			<guid isPermaLink="false">69115@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris - I've changed it to make it default to 200 h and 200 w. Thank you so much for helping with this - I am so desperate for it now!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Change image size live when form field entered"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-image-size-live-when-form-field-entered#post-69107</link>
			<pubDate>Thu, 02 Aug 2012 07:20:32 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">69107@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Maybe width and height should be defined up front, so that before the keydown event is captured, there will still be a width and height value?  Define them before the function, then rely on the function to change them based on the data entry?  Is there a default size at which the image starts?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Change image size live when form field entered"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-image-size-live-when-form-field-entered#post-69106</link>
			<pubDate>Thu, 02 Aug 2012 07:18:30 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">69106@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for that link.  When I access that page I get this JavaScript error:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;Timestamp: 8/2/2012 6:15:43 AM
Error: ReferenceError: width is not defined
Source File: &#60;a href=&#34;http://www.thesplashbackfactory.com/splashback-products/black-steel-splashback-12mm&#34; rel=&#34;nofollow&#34;&#62;http://www.thesplashbackfactory.com/splashback-products/black-steel-splashback-12mm&#60;/a&#62;
Line: 210&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Let me look into that a little bit and see what I can find out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Touchm on "Change image size live when form field entered"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-image-size-live-when-form-field-entered#post-69088</link>
			<pubDate>Thu, 02 Aug 2012 04:21:32 +0000</pubDate>
			<dc:creator>Touchm</dc:creator>
			<guid isPermaLink="false">69088@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris - link to page here, just select 'custom sizes' to see the section I'm talking about: &#60;a href=&#34;http://www.thesplashbackfactory.com/splashback-products/black-steel-splashback-12mm&#34; rel=&#34;nofollow&#34;&#62;http://www.thesplashbackfactory.com/splashback-products/black-steel-splashback-12mm&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Change image size live when form field entered"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-image-size-live-when-form-field-entered#post-69035</link>
			<pubDate>Wed, 01 Aug 2012 16:42:41 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">69035@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you post a link to this live somewhere so we can take a look at it?  Maybe it's something simple that more eyes will catch.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Touchm on "Change image size live when form field entered"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-image-size-live-when-form-field-entered#post-68952</link>
			<pubDate>Wed, 01 Aug 2012 10:34:56 +0000</pubDate>
			<dc:creator>Touchm</dc:creator>
			<guid isPermaLink="false">68952@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Following on from some helpful advice on this forum, I have tried to develop a solution to a problem. Basically, when a user enters their bespoke widths into two seperate form fields (#input_9_2 and #input_9_3) I want an image or div layer, or table, to change shape in relation to the entered field entry. So if say, a user enters 20cm in field one and 300cm in field two, the image/div/cell will automatically before their eyes show that shape (using cm as pixels - this 20 px wide x 300px high). This is the code I have been using but it just isnb't working - I have no doubt my argument / syntax is wrong but can anyone help - I'm now three days into this and have tried very hard to sort myself. Many thanks.&#60;/p&#62;
&#60;p&#62;-------&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;img class=&#38;quot;sbimg&#38;quot; id=&#38;quot;sbimg&#38;quot; src=&#38;quot;/wp-content/uploads/2012/06/AAF-Splashback-Black-Gloss-Splashback-Full-No-Handle-200x200.jpg&#38;quot;&#38;gt;
&#38;lt;script&#38;gt;
$(function width(){
  $(&#38;#39;#input_9_2&#38;#39;).keydown(function(){
    setTimeout(function() {
      $(&#38;#39;#input_9_2&#38;#39;).val();
    }, 50);
  });
});
$(function height(){
  $(&#38;#39;#input_9_3&#38;#39;).keydown(function(){
    setTimeout(function() {
     $(&#38;#39;#input_9_3&#38;#39;).val();
    }, 50);
  });
});
var photo = document.getElementById(&#38;#39;sbimg&#38;#39;);
var photoWidth = width();
var photoHeight = height();
photo.width = photoWidth;
photo.height = photoHeight;
&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>

	</channel>
</rss>
