List all

## RE:CFX_ImageInfoSE - I can get W&H but not Size

`Date: 2003-05-25 11:23AM`
I think it`s time for a CF reconsiliation! :) My version is CF 4.5 with 500MB free on the CF driver and 6.5GbB free on the drive where the image is stored. The image size ranges but mostly under 200k. I`m guessing it has to do with how my code is trying to use ImageInfoSE. I`ll try moving around a few things and see what I get. Nice work on SE though... it`s alot faster then the original
184,182

## RE:CFX_ImageInfoSE - I can get W&H but not Size

`Date: 2003-05-23 11:52PM`
Hm. Well, I originally made that tag as a favor for someone for use in a commercial product, so I recall testing it fairly throughly. Though that was the ... CF4(?) era. What version of CF are you using? Oh. And how big is the hard drive it`s running on? (I don`t *think* that should matter, but... it is an old tag.) I haven`t had CF installed for a few months so I can`t readily check it out. (Don`t particularly want to install it either. CF and I left each other on bad terms. ;) --min
183,182

## CFX_ImageInfoSE - I can get W&H but not Size

`Date: 2003-05-20 11:58AM`
I have a pic gallery application and I want to insert the pic`s WxH and size on upload. I get W&H; just fine but for some reason Size is not working. The tag works just fine on a specific image. I`m probably missing something easy, any help appriciated.

#### Code:

`<CF_MagickTag action="convert" inputtype="file" inputfile="#application.gal#/#Hidden_Val#/#NImgURL1#" outputType="file" outputFile="#application.gal#/#Hidden_Val#/#NImgURL1#"> <CF_MagickAction action="Geometry" width="#Width#" height="5000" percent="no" scaleIf="larger"> </CF_MagickTag> <CF_MagickTag action="convert" inputtype="file" inputfile="#application.gal#/#Hidden_Val#/#NImgURL1#" outputType="file" outputFile="#application.gal#/#Hidden_Val#/t_#NImgURL1#"> <CF_MagickAction action="Geometry" width="150" height="100" percent="no" scaleIf="larger"> </CF_MagickTag> <CFX_ImageInfoSE FILENAME="#application.gal#/#Hidden_Val#/#NImgURL1#" ERROR="Error"> <cfquery name="CreateDocumentRecord" datasource="#application.DSN#"> INSERT INTO Pictures (Filename, GalleryID, Gallery, Comment, Datepublished, Hits, UploadedBy, Filesize, Dimensions) VALUES (`#NImgURL1#`, `#Hidden_Val#`, `#Gallery#`, `#Comment1#`, #Now()#, `1`, `#UploadedBy#`, `#ImageInfoSE.Size#`, `#ImageInfoSE.Width# x #ImageInfoSE.Height#`) </cfquery>`
182,182

Login to Intrafoundation Software

Email

Password

Remember me