I'm trying to control image sizes on a image file upload. Image CFC seems to be usable. I'm wishing I could just use CFIMAGE in CF8, but my host is not there yet.
Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be &. -----Original Message----- From: David Low [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 9:55 AM To: CF-Talk Subject: Re: Java Script Value to CF Value But that is for passing CF values into Javascript, isn't it? Robert is trying to get a client-side JS value (which is defined once an image has loaded) into the server-side CF code. Can't be done in that way. Robert, what is it you're trying to do in general, aside from the snippet of code you gave? Dan Vega wrote: > Robert, > Look at the docs for toScript(), this function will help you out. > > Dan > > On 9/4/07, Robert Harrison <[EMAIL PROTECTED]> wrote: >> I have a value I'm retrieving from Java Script. I need to set it to a CF >> value. What is the correct syntax. Below does not work, but it makes the >> point on what I'm trying to do. How do I do this correctly? >> >> >> >> <cfset wide=<script >> language='javascript'>document.write(document.images[0].height)</script>> >> >> >> >> Thanks, >> >> >> >> >> >> Robert B. Harrison >> Director of Interactive services >> Austin & Williams >> 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 >> T : 631.231.6600 Ext. 119 >> >> F : 631.434.7022 >> www.austin-williams.com >> >> Great advertising can't be either/or... It must be &. >> >> >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287698 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

