invoking a cf page from static html via img

2010-02-13 Thread Matthew Smith
I've heard it can be done, but not sure how to do it. I have just moved some pages and would like to track people going to the old stuff. Can I pass parameters? The images doesn't have to show up. It could be a 1 pixel clear gif.

Re: invoking a cf page from static html via img

2010-02-13 Thread Matt Quackenbush
Here is a quick overview of how to do it... -- myHtmlPage.html -- img src=myCFprocessor.cfm alt= width=1 height=1 / -- myCFprocessor.cfm -- !--- do whatever needs to be done with CF here --- !--- now serve the image --- cfcontent type=image/gif file=images/myClearGif.gif /

Re: invoking a cf page from static html via img

2010-02-13 Thread Matt Quackenbush
Oh, and yes, you can pass parameters via the querystring. img src=myCFprocessor.cfm?param1=fooparam2=bar alt= width=1 height=1 / On your processor page you would simply reference them as #url.param1# and #url.param2#. ~| Want