Empty directories with cfdirectory and cfzip

Categories: Adobe, ColdFusion, ColdFusion 8, Java

Ever work with <cfdirectory> or <cfzip> and notice that they both ignore empty directories? This might make sense with some business logic, where an empty directory can (and should) be ignored. However, what if you want to ensure that empty directories are included in a zip file?

Read More

Jpeg resolution via EXIF Metadata

Categories: ColdFusion, ColdFusion 8, Java

I recently worked on a project that required obtaining the resolution of photograph.  The approach I used was to limit the photographs to Jpeg format images only, which I could then use the new imageGetEXIFMetada() function in ColdFusion 8 to obtain the X-Resolution and Y-Resolution tags.  Here is a quick summary of some of my findings and problems.

Read More