>- see footer for list info -<
Any chance that the problem is that the page doing the CFCONTENT is also
generating CF debugging output (html)? Add to your CFSETTING a
showdebugoutput="No" and see what happens. Note also when trying to get such
things working, it's often critical to open a new browser window to request
the page, rather than just refresh the current one (after making such a
change). I've just seen the browser cache the first (failed) request. 

You may also want to compare the results that come back to the browser (if
you can save it, or using an http proxy) to see how the bits that were
downloaded via CFCONTENT differ from the bits when it's downloaded directly
(as a svgz).

/Charlie
http://www.carehart.org/blog/  

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Swingewood
Sent: Thursday, February 01, 2007 10:03 AM
To: [email protected]
Subject: Re: [CF-Dev] CFCONTENT & SVG

>- see footer for list info -<
Hi Duncan. Yes the case works fine. The variable is set becuase I use it
somewhere else nad its in that code as legacy


>From: "Duncan Cumming" <[EMAIL PROTECTED]>
>Reply-To: Coldfusion Development <[email protected]>
>To: <[email protected]>
>Subject: Re: [CF-Dev] CFCONTENT & SVG
>Date: Thu, 01 Feb 2007 13:07:47 +0000
>
> >- see footer for list info -<
>Paul, do you know if this <cfcase> gets executed at all?
>
>Also you set a variable that you then don't use...
><cfset mime_type = "image/svg+xml">
><cfcontent file="C:\Inetpub\wwwroot\cfpages\newperform\svg\346.svgz"
>type="image/svg+xml">
>
>should probably be, unless you're using the variable for something else:
>
><cfset mime_type = "image/svg+xml">
><cfcontent file="C:\Inetpub\wwwroot\cfpages\newperform\svg\346.svgz"
>type="#mime_type#">
>
>
>Duncan Cumming
>New Media Developer
>Customer Relations Management / Education
>Fife Council
>700 4105 / 01592 414105
>
> >>> [EMAIL PROTECTED] 01/02/2007 13:00 >>>
> >- see footer for list info -<
>Hi all.
>
>I don't seem able to get cfcontent to open SVG files.
>
>I have this ....
>
><cfcase value=".svgz">
>               <cfset mime_type = "image/svg+xml">
>               This is an SVGZ FILE ....<br>
>
>               <cfcontent
file="C:\Inetpub\wwwroot\cfpages\newperform\svg\346.svgz"
>type="image/svg+xml">
>               <cfabort>
>       </cfcase>
>
>The file opens if I go directly to here
>
>http://www.bgfl.org/cfpages/newperform/svg/346.svgz
>
>Any ideas ....?
>
>Regards - Paul
>

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to