House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

How to determine Imagesize in Kilobyte?

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
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> tag
Azadi Saryev
10/02/07 06:24 A
Nic,
Web Specialist
10/02/07 09:09 A
Great, thank you !!!
Stivn ..
10/02/07 09:20 A
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Stivn ..
10/02/2007 05:15 AM

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.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Web Specialist
10/02/2007 06:11 AM

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 -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Azadi Saryev
10/02/2007 06:24 AM

look up <cfdirectory> tag Azadi Stivn .. wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Stivn ..
10/02/2007 08:57 AM

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.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Web Specialist
10/02/2007 09:09 AM

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 -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Stivn ..
10/02/2007 09:20 AM

Great, thank you !!!

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Tom Chiverton
10/02/2007 09:24 AM

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.


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference