Could be that you need to switch the order of the second and third lines, so you are assigning the width AFTER you set the src attribute.
-- Josh ----- Original Message ----- From: "Rick Faircloth" <[EMAIL PROTECTED]> To: "CF-Talk" <cf-talk@houseoffusion.com> Sent: Thursday, January 11, 2007 12:17 PM Subject: RE: Any way to specify image size in this code? > Thanks for the reply, Adrian... > > I tried it like this... > > <SCRIPT LANGUAGE="JavaScript"><!-- > var img33641915#Get_New_Community.CurrentRow#=new Image(); > img33641915#Get_New_Community.CurrentRow#.width=200; > img33641915#Get_New_Community.CurrentRow#.src="#Website#/created_assets/phot > os/new_communities/#Get_New_Community.Community_Photo_1#"; > //--></SCRIPT> > > ....with your code stuck on the end of the second line, > but nothing's changing with the image size. > > Do I need to put it in another spot? > > Rick > > > > -----Original Message----- > From: Adrian Lynch [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 11, 2007 3:06 PM > To: CF-Talk > Subject: RE: Any way to specify image size in this code? > > Try: > > img33641915#Get_New_Community.CurrentRow#.width = 100; > img33641915#Get_New_Community.CurrentRow#.height = 100; > > Ade > > -----Original Message----- > From: Rick Faircloth [mailto:[EMAIL PROTECTED] > Sent: 11 January 2007 20:01 > To: CF-Talk > Subject: Any way to specify image size in this code? > > > Hi, all. > > I was wondering if there is any way to specify the image size in this > code: > > <SCRIPT LANGUAGE="JavaScript"><!-- > var img33641915#Get_New_Community.CurrentRow#=new Image(); > img33641915#Get_New_Community.CurrentRow#.src="#Website#/created_assets/phot > os/new_communities/#Get_New_Community.Community_Photo_1#"; > //--></SCRIPT> > > Thanks, > > Rick > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266306 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4