That's also a good way to see how many people read an HTML formatted email
that you send out.  Not spam, of course, but periodic newsletter or the
like.  And it's worth mentioning that you can append URL variable in the IMG
tag, which obviously get passed to the CF template that generates the image.

---
Barney Boisvert, Senior Development Engineer
AudienceCentral
[EMAIL PROTECTED]
voice : 360.756.8080 x12
fax   : 360.647.5351

www.audiencecentral.com


> -----Original Message-----
> From: Jim Davis [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 24, 2003 1:47 PM
> To: CF-Talk
> Subject: BLOBs and CF
>
>
> Just thought some others would like to see this.  Using the
> information that Christain provided ( from
> http://www.markme.com/cantrell/archives/002736.cfm ) I did some playing.
>
> Place the appended code in it's own template (let's say
> "FauxGIF.cfm").  Then call the template in an <img> tag as in
> <img src="FauxGIF.cfm"> - you'll get a single, pixel transparent
> gif in the browser.
>
> This technique works in any version of CF higher than 4.5.  Also
> note that the graphic itself was previously converted to base64
> and that text saved for use here: this template is completely
> self-contained: no source graphic is needed.
>
> You could of course use CFFILE and the toBase64() function to
> capture the code needed for any image (or file for that matter,
> but then you'd have to change the encoding).
>
> As it stands you'd be able to use this for page tracking or
> somesuch.  Changing the graphic (perhaps storing the encoded text
> in a DB) and this makes for a nice foundation for a advertising
> or logo tracking system.
>
> Sorry if this is old news... but I'm an old dog.  It delights and
> amazes me when, against all traditional wisdom, I learn a new trick.  ;^)
>
> Here's page:
>
> <cfsilent>
> <cfsetting showdebugoutput="No" />
>
>       <!--- Put what ever processing you like here --->
>
> <cfcontent type="image/gif; charset=8859_1">
> </cfsilent><cfoutput>#ToString(ToBinary("R0lGODlhAQABAIAAAP///wAAA
CH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="))#</cfoutput>

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.491 / Virus Database: 290 - Release Date: 6/18/2003

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to