Zrinity is the leader in enterprise-class email marketing
management solutions and content management solutions for marketing professionals and developers worldwide.
Full server path of directory to upload
images into
Filefield
formfield
Name of form field where the file is
uploaded
Optional Attributes
Thumbpath
serverpath
Full server path of directory to keep
thumbnails in
Thumbsize
number
The width of the generated
thumbnail
Prefix
text
The prefix to attach to the generated
thumbnail's file name
Nameconflict
Text
Action to take if the uploaded image's name
conflicts with another image present.
Maxsize
number
The maximum width the uploaded image can
be
is a
custom tag that uploads an image from a specified form field, and resizes it
based on specified criteria. It has the ability to create thumbnails
dynamically, to a specified width. It stores the created images in a user
defined directory.
Notes:
  Â
Prefix is text that is attached
to the front of the file's name. This is to differentiate the full size image
from the thumbnail if they are stored in the same directory. The thumbnail is by
default named sm_yourfile.
   CF_AutoResize returns two variables, #photo# and #thumbnail#. #photo# is the
filename of the fullsize image, and #thumbnail# is the filename of the fullsize
image with prefix prepended.
Installing :
Unzip autoresize.zip into a temporary
directory.
Copy autoresize.cfm into your custom tags
directory, usually C:cfusioncustomtags.
Copy image.dll into your cfx directory, usually
C:cfusioncfx.
Register image.dll as a cfx tag in Cold Fusion
administrator, through the Extensions>>CFX Tags area.
Copy CF_autoresize.vtm into your homesite or
cold fusion studio directory, usually C:Program FilesAllaireColdFusion
Studio4 (homesite 4.0)ExtensionsTagDefsCustom
Delete the temporary directory holding the
unzipped files.