That did the trick.  Thanks for your quick help.

Thanks,
Mark


-----Original Message-----
From: Jared Clinton [mailto:[EMAIL PROTECTED]] 
Sent: Monday, March 25, 2002 11:09 PM
To: CF-Talk
Subject: RE: CFContent Output


Try separating the two scripts.

The first script can be called as a HTML page by the client-browser.

The second can be called from within the HTML page in an IMG tag the src
attribute can call your CFCONTENT script

<img src="ContentFromDB.cfm?photoid=123" border="0">

Hope this helps,
Jared Clinton
NEC Australia

-----Original Message-----
From: Mark Leder [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 26 March 2002 1:00 PM
To: CF-Talk
Subject: CFContent Output


I have a template with a CFContent tag placed somewhere between two
blocks of normal HTML text and/or images. When the page loads and reads
the CFContent tag (as when I would want to display a jpeg photo, for
example), all the HTML is ignored, and just the photo is displayed.  Is
there any way to force CFcontent to "stay within bounds" and not preempt
any other code on the page?  I want to have a caption below the photo,
pulled from a db.
 
Thanks,
Mark Leder
 



______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to