first of all you should close the image tag
secondly you need to properly write your image tag

bad = <cfset imgVar = "<img src=/images/myimage.jpg>"> 
better (yet still ugly)= <cfset imgVar = "<img src="/images/myimage.jpg" />">





> CF8, 
> outside query out: <img src='/images/myimage.jpg'> <br> -- displayed
> <cfset imgVar = "<img src=/images/myimage.jpg>">
> output var value of image: <cfoutput>#imgVar#</cfoutput> -- displayed
> 
> db column named myData of varchar|nvarchar (5000), one row's data 
> stream reads
> "bla ksk kak alkd sk skd <img src=/images/myimage.jpg> sjd ksd fksdf"
> query the above table and column (resultsets could be numerous rows)
> <cfoutput query="getData">
...., 
> #myData# -- the image is not rendered, why not?
> </cfoutput>
> 
> I even tried HTMLCodeFormat to see what's there, here's its output
> show: &lt;img src=/images/myimage.jpg&gt;<BR>
> 
> Hmm, what could prevent the image reference from within a text string 
> being rendered by browser?
> 
> Thanks.
> Looks like simple but I'm stumbled by it.  Thanks.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313970
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to