Skip to main content
Dileep_NR
Inspiring
Feb 19, 2009 6:27 AM UTC
Question

How to get Image size

Hi All,

I would like to know how we find an image size(in bytes) using coldfusion.
is this possible with cfimage?

I have a folder with images and i have to get the size(in bytes) of each image and in insert the size into table.

Please help


This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

Inspiring
Feb 19, 2009 6:53 AM UTC
catchme_dileep wrote:
> I would like to know how we find an image size(in bytes) using coldfusion.
> is this possible with cfimage?

are you looking for the file size? use cfDirectory.
Translate
Dileep_NR
Dileep_NRAuthor
Inspiring
Feb 19, 2009 8:48 AM UTC
No, i have to get image size using cfimage
Translate
Known Participant
Feb 19, 2009 9:45 AM UTC
Hi Dileep,

you can use the following code to get the size of your images.

is this what u are looking for ??
Translate