|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
How to determine Imagesize in Kilobyte?
Hi all,Stivn .. 10/02/07 05:15 A lol,Andrew Scott 10/02/07 06:04 A In CF8 you can use imageinfo tag.Web Specialist 10/02/07 06:11 A look up <cfdirectory> tagAzadi Saryev 10/02/07 06:24 A Sorry, but i dont understand the context between the <cfdirectory> function and the filesize.Stivn .. 10/02/07 08:57 A Nic,Web Specialist 10/02/07 09:09 A Great, thank you !!!Stivn .. 10/02/07 09:20 A On Tuesday 02 Oct 2007, single_trail@gmx.de wrote:Tom Chiverton 10/02/07 09:24 A Hi all, i want to know how i can determine the imagesize in kilobyte of an existing image? I can select the path to the image from the database, now i need only the imagesize. Thanks in advance Nic. lol, Won't the file size surfice:-) ----- Excess quoted text cut - see Original Post for more ----- In CF8 you can use imageinfo tag. In CF7 you can use cfdirectory with filter parameter including your file path. ByteConvert UDF could help you to convert file size to KB: http://www.cflib.org/udf.cfm?id=317&enable=0 Cheers 2007/10/2, Stivn .. <single_trail@gmx.de>: ----- Excess quoted text cut - see Original Post for more ----- look up <cfdirectory> tag Azadi Stivn .. wrote: ----- Excess quoted text cut - see Original Post for more ----- Sorry, but i dont understand the context between the <cfdirectory> function and the filesize. I need the size of a specific file, for example "/images/standard/houseoffusion.gif" How can i determine the filesize / imagesize of exactly this file? Thank you all for your help Nic. Nic, an example: <cfdirectory action="list" directory="C:\Inetpub\wwwroot\YourDirectory" filter="FILENAME.FILEEXT" name="qDirectory"> <cfdump var="#qDirectory.size#"> Cheers 2007/10/2, Stivn .. <single_trail@gmx.de>: ----- Excess quoted text cut - see Original Post for more ----- Great, thank you !!! On Tuesday 02 Oct 2007, single_trail@gmx.de wrote: > How can i determine the filesize / imagesize of exactly this file? If you don't believe us, cfdump the cfdirectory results. -- Tom Chiverton Helping to enormously maintain B2C designs on: http://thefalken.livejournal.com **************************************************** This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com.
|
May 24, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||