Help!
I'm trying to grab the dimensions of a just uploaded image. I'm using
the CFX_Image custom tag, and trying to use the getSize command. At the
same time, I am creating a thumbnail of the image, and the getSize
command returns only the value of the thumbnail, not the full size
image. Code below. Any ideas?
Thanks!
Jake
-
My Blog - <http://www.countersinkdg.com> www.countersinkdg.com
<CFX_IMAGE ACTION="">
FILE="#file_to_thumbnail#"
COMMANDS="
## thumbnail sizes
setvar x=100
setvar y=100
## Resizing to thumbnail -- defaults
to 100 wide
resize <x>
## write it!
write #thumb_filename#">
<CFX_IMAGE ACTION="">
FILE="#thumbpath#\#file.serverfile#"
COMMANDS="getsize">
<cfoutput>
width: #IMG_WIDTH #<br>
height: #IMG_HEIGHT#
</cfoutput>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]