If I understand correctly, you're using CFCONTENT inappropriately.
Essentially, CFCONTENT as I believe you're using it, "pretends" that it is
an image file. It doesn't generate an HTML IMG tag, it generates an image.
So, the following (custom tags removed) is wrong:
<CFLOOP QUERY="GetImages">
<CFCONTENT FILE="#GetImages.Filename#" ... >
</CFLOOP>
Instead, it should be something like:
<CFLOOP QUERY="GetImages">
<IMG SRC="dsp_showImage.cfm?filename=#GetImages.Filename#">
</CFLOOP>
This produces a series of IMG tags. When the browser retrieves each image
specified by the tags, it is actually calling the CFCONTENT file, which
returns the image as if the browser had directly referred to an image.
HTH
Note, the above code is insecure, but it shows the general idea.
--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/
> -----Original Message-----
> From: Shahzad.Butt [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 04, 2003 12:57 PM
> To: CF-Talk
> Subject: CFContent
>
>
> I am calling CFContent inside a custom tag (dsp_showimage) where I
> display image and then delete it using cfcontent. The page
> (dsp_showallproducts.cfm) which is calling that custom tag has got loop
> inside it. Now problem I am having is that I can only see image which is
> being deleted afterwards because of cfcontent but no html output of my
> caller.
>
>
> Any idea??
>
> Shaz
>
>
> !"[EMAIL PROTECTED]@APOLLO"!
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4