On Tue, May 13, 2008 at 4:15 PM, Ajas Mohammed <[EMAIL PROTECTED]> wrote:
> 1. instead of cfincluding the img.cfm, do a > <cfif fileExists(theFile)> > <img src="...*img2.cfm*"> > </cfif> > What does img2.cfm do? Does it return/output the web accessible path to the image file? 4. Use CFContent <cfcontent type="image/GIF" file=" > \\servername\nameofshare\clientname\CF_Chart_Share\testimage.jpg"> > In your production code are you matching the type attribute to the actual file type? In your example here you are telling the browser that the file it is about to receive is a GIF but then you actually give it a JPEG. As the configuration of what this affects is in the browser you can't actually know if it will matter or not but I think it would be better to err on the side of caution. -- Howard Fore, [EMAIL PROTECTED] "The universe tends toward maximum irony. Don't push it." - Jeff Atwood ------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------