RE: getting image info with CF

2003-09-10 Thread Tony Weeg
cfx_imgsize is a custom tag that returns those properties. I think you can get it from the dev exchange on macromedia.com somewhere. later tony weeg sr. web applications architect navtrak, inc. [EMAIL PROTECTED] www.navtrak.net office 410.548.2337 fax 410.860.2337 -Original Message-

RE: getting image info with CF

2003-09-10 Thread Mike Townend
If you are using MX then this code should work... function getImageDimensions(sFile) { var strRtn = StructNew(); var oImage = createObject(java,javax.swing.ImageIcon).init(sFile); strRtn.Width = oImage.getIconWidth(); strRtn.Height =

Re: getting image info with CF

2003-09-10 Thread Massimo Foti
Is there any way to get the width and height information of an image file with Coldfusion? If you use CF 6.1 you can try this: http://www.cfmentor.com/code/index.cfm?action=zippedid=50 Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion