Intrafoundation Software
Making Atomic Warfare Fun Again
News & Forums Active Projects Queued Projects | War & Politics God Cryptography Operating Systems Game Development | Writings Poetry Film Making Wisdom | ColdFusion ASP COM Objects Javascript Web Design Java | Photography Raytracing DOS Software

| Need a shoulder to cry on while trying to convince Windows to properly work with our software? Just want to chat about something related to the site? Feel free to use the forums slash news slash blog. (Unsolicited commercial spam will be deleted, obviously.) | Looking for something?

This is thread 182. The complete list of threads is available on the main forums page.

Subject: CFX_ImageInfoSE - I can get W&H; but not Size Author: Sean Date/Time: 5/20/2003 11:58:13 AM (182.0) 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>
Subject: RE:CFX_ImageInfoSE - I can get W&H; but not Size Author: Lewis Sellers Date/Time: 5/23/2003 11:52:33 PM (183.182) 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
Subject: RE:CFX_ImageInfoSE - I can get W&H; but not Size Author: Sean Date/Time: 5/25/2003 10:23:20 AM (184.182) 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

| REPLY
--- | ---
Author: |
Subject: |
Your Message: |
Email: (optional) |

`(Note: For safety all HTML in your message text may be printed exactly as you typed it.)`
top