Just put together a thumb nail routine.

<cfx_image action="IML"
 file="#request.app.site_root#photo_lib\thumb\#file.ServerFile#"
 commands="
 setimage tmp=#variables.thumb_width#,#variables.height#
 useimage tmp
 bfrect
0,#variables.height#,#variables.thumb_width#,#variables.height#,ffffff
 rect  0,0,#variables.rwidth#,#variables.rheight#,000080
 copy 5,5,original
 write #request.app.site_root#photo_lib\thumb\#file.ServerFile#
 ">

The overlay command is copy 5,5,original


----- Original Message -----
From: "Bryan Stevenson" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 2:30 PM
Subject: CFX_IMAGE


> Hey All,
>
> Does anyone have a code snippet showing how to add an image to an existing
> image using CFX_IMAGE?
>
> TIA
>
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> t. 250.920.8830
> e. [EMAIL PROTECTED]
>
> ---------------------------------------------------------
> Macromedia Associate Partner
> www.macromedia.com
> ---------------------------------------------------------
> Vancouver Island ColdFusion Users Group
> Founder & Director
> www.cfug-vancouverisland.com
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to