I'd recommend CFLOCATION instead. The reason is that with CFCONTENT you now
load the image and then CF streams it out. By using a CFLOCATION, you tell
the browser to do a pure web server call and not to bother CF further. Both
work, but as you scale your operation, you'll want images outside your
network and the CFLOCATION approach helps you get that load off your CF
server quickly.
--Doug
-----Original Message-----
From: JustinMacCarthy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 05, 2000 9:58 AM
To: CF-Talk
Subject: Re: HTML Email Tracking
link to it like : <img src=getimage.cfm >
in getimage.cfm
----------------------------------------------------------------------------
-
code to update counter
<cfcontent file="image.gif" cfcontent type="image/gif">
Main thing to use is cfcontent ....
HTH
Justin
----- Original Message -----
From: "Sean Daniels" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, October 05, 2000 5:28 PM
Subject: HTML Email Tracking
> I feel like I've seen this done before, but I can't for the life of me
> figure out how to get it to work.
>
> What I have is a marketing email that is going out HTML formatted. I want
to
> include in it a reference to an image file. I've heard that some people
have
> successfully referenced a CFM file in the src of the image that would
allow
> you to have some code executed each time the image was grabbed. Then you
use
> cfcontent maybe to push out an actual image.
>
> Anyone got some code that shows how this is actually done? I've tried
just:
>
> <img src="thefile.cfm" height=1 width=1 border=0>
>
> The code in thefile.cfm doesn't get run though. All it does by the way is
> increment a counter in a db table.
>
> TIA
>
> - Sean
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~
> Sean Daniels
> Manager, Engineering
> (T): 207.439.6030
> (C): 978.764.0799
> ~~~~~~~~~~~~~~~~~~~~~~~~~~
> http://www.dealforce.com
> http://www.mergernetwork.com
>
>
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
>
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.