when I did it, I put the image in a iframe so the user could see it before uploading, and then read the details from the iframe, it worked very well. and it works in mozilla:)
would have replied about this yesterday, but was in a meeting all day. ----- Original Message ----- From: "Matt Horn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 13, 2004 10:56 AM Subject: Re: [ cf-dev ] Image size > the code posted here the other day > > basically onchange of the file form field > you set the value to an img tag and do some JS wizardry to deterimine the > weight of the image > > ----- Original Message ----- > From: "Robertson-Ravo, Neil (RX)" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, July 13, 2004 11:11 AM > Subject: RE: [ cf-dev ] Image size > > > > Hey Matt, > > > > What JS code you using? > > > > -----Original Message----- > > From: Matt Horn [mailto:[EMAIL PROTECTED] > > Sent: 13 July 2004 10:06 > > To: [EMAIL PROTECTED] > > Subject: Re: [ cf-dev ] Image size > > > > The JS works in IE only > > > > but thats good enough for now > > > > I'll write a netscape workaround when we start getting netscape users in > > the logs > > > > > > ----- Original Message ----- > > From: "Robertson-Ravo, Neil (RX)" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, July 13, 2004 11:00 AM > > Subject: RE: [ cf-dev ] Image size > > > > > > > You can get the image physical size by using JS like someone posted > > (before > > > an upload)...it will also work on Netscape. Image weight is a different > > > matter...I think your best bet their would be cfhttp it up using a > hidden > > > div and return the value back so it looks like the image hasn't even > been > > > uploaded or moved in anyway... > > > > > > > > > > > > > > > > > > -----Original Message----- > > > From: Snake Hollywood [mailto:[EMAIL PROTECTED] > > > Sent: 12 July 2004 19:08 > > > To: [EMAIL PROTECTED] > > > Subject: RE: [ cf-dev ] Image size > > > > > > Oops sorry u said your on CF4.5, so this wont work > > > > > > > -----Original Message----- > > > > From: Snake Hollywood [mailto:[EMAIL PROTECTED] > > > > Sent: 12 July 2004 18:42 > > > > To: [EMAIL PROTECTED] > > > > Subject: RE: [ cf-dev ] Image size > > > > > > > > No custom tags required. > > > > See my tutorial here. > > > > > > > > http://tutorial107.easycfm.com/ > > > > > > > > russ > > > > > > > > > -----Original Message----- > > > > > From: Mark Woods [mailto:[EMAIL PROTECTED] > > > > > Sent: 12 July 2004 11:34 > > > > > To: [EMAIL PROTECTED] > > > > > Subject: Re: [ cf-dev ] Image size > > > > > > > > > > cfx_imageInfo is a C++ CFX available at > > > > > http://www.intrafoundation.com/freeware.html which does this. > > > > > There are lots of other similar tags available via the MM > > > > developers > > > > > exchange or you want an OS independent version, I have a Java CFX > > > > > based on the free and open-source ImageInfo class by Marco > > > > Schmidt ( > > > > > http://www.geocities.com/marcoschmidt.geo/image-info.html ) which I > > > > > can mail you off-list. > > > > > > > > > > > > > > > Mark > > > > > > > > > > > > > > > -- > > > > > These lists are syncronised with the CFDeveloper forum at > > > > > http://forum.cfdeveloper.co.uk/ > > > > > Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > > > > > > > > > CFDeveloper Sponsors and contributors:- *Hosting and > > > > support provided > > > > > by CFMXhosting.co.uk* :: > > > > > *ActivePDF provided by activepdf.com* > > > > > *Forums provided by fusetalk.com* :: *ProWorkFlow provided by > > > > > proworkflow.com* > > > > > *Tutorials provided by helmguru.com* :: *Lists hosted by > > > > > gradwell.com* > > > > > > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > -- > > > > These lists are syncronised with the CFDeveloper forum at > > > > http://forum.cfdeveloper.co.uk/ > > > > Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > > > > > > > CFDeveloper Sponsors and contributors:- > > > > *Hosting and support provided by CFMXhosting.co.uk* :: > > > > *ActivePDF provided by activepdf.com* > > > > *Forums provided by fusetalk.com* :: *ProWorkFlow > > > > provided by proworkflow.com* > > > > *Tutorials provided by helmguru.com* :: *Lists > > > > hosted by gradwell.com* > > > > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > -- > > > These lists are syncronised with the CFDeveloper forum at > > > http://forum.cfdeveloper.co.uk/ > > > Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > > > > > CFDeveloper Sponsors and contributors:- > > > *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF > provided > > > by activepdf.com* > > > *Forums provided by fusetalk.com* :: *ProWorkFlow provided by > > > proworkflow.com* > > > *Tutorials provided by helmguru.com* :: *Lists hosted by > > > gradwell.com* > > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, > > > Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, > > > Registered in England, Number 678540. It contains information which is > > > confidential and may also be privileged. It is for the exclusive use of > > the > > > intended recipient(s). If you are not the intended recipient(s) please > > note > > > that any form of distribution, copying or use of this communication or > the > > > information in it is strictly prohibited and may be unlawful. If you > have > > > received this communication in error please return it to the sender or > > call > > > our switchboard on +44 (0) 20 89107910. The opinions expressed within > > this > > > communication are not necessarily those expressed by Reed Exhibitions. > > > Visit our website at http://www.reedexpo.com > > > > > > -- > > > These lists are syncronised with the CFDeveloper forum at > > http://forum.cfdeveloper.co.uk/ > > > Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > > > > > CFDeveloper Sponsors and contributors:- > > > *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF > provided > > by activepdf.com* > > > *Forums provided by fusetalk.com* :: *ProWorkFlow provided by > > proworkflow.com* > > > *Tutorials provided by helmguru.com* :: *Lists hosted by > > gradwell.com* > > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > > > > > -- > > These lists are syncronised with the CFDeveloper forum at > > http://forum.cfdeveloper.co.uk/ > > Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > > > CFDeveloper Sponsors and contributors:- > > *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided > > by activepdf.com* > > *Forums provided by fusetalk.com* :: *ProWorkFlow provided by > > proworkflow.com* > > *Tutorials provided by helmguru.com* :: *Lists hosted by > > gradwell.com* > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, > > Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, > > Registered in England, Number 678540. It contains information which is > > confidential and may also be privileged. It is for the exclusive use of > the > > intended recipient(s). If you are not the intended recipient(s) please > note > > that any form of distribution, copying or use of this communication or the > > information in it is strictly prohibited and may be unlawful. If you have > > received this communication in error please return it to the sender or > call > > our switchboard on +44 (0) 20 89107910. The opinions expressed within > this > > communication are not necessarily those expressed by Reed Exhibitions. > > Visit our website at http://www.reedexpo.com > > > > -- > > These lists are syncronised with the CFDeveloper forum at > http://forum.cfdeveloper.co.uk/ > > Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > > > CFDeveloper Sponsors and contributors:- > > *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided > by activepdf.com* > > *Forums provided by fusetalk.com* :: *ProWorkFlow provided by > proworkflow.com* > > *Tutorials provided by helmguru.com* :: *Lists hosted by > gradwell.com* > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > -- > These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ > Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > CFDeveloper Sponsors and contributors:- > *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* > *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* > *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* > > To unsubscribe, e-mail: [EMAIL PROTECTED] > -- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ CFDeveloper Sponsors and contributors:- *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* To unsubscribe, e-mail: [EMAIL PROTECTED]
