Hi, img2.cfm has this code below, thats all...
<cfcontent type="image/GIF" file=" \\servername\nameofshare\clientname\CF_Chart_Share\testimage.jpg"> Thanks for Gif vs jpg catch... I didnt notice that. I have type set as gif and image being shown is jpeg in production and it works in both firefox and IE. I will change it now that I know. Thanks, Ajas. On Tue, May 13, 2008 at 9:44 PM, Howard Fore <[EMAIL PROTECTED]> wrote: > 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 FusionLink <http://www.fusionlink.com> > ------------------------------------------------------------- > -- <Ajas Mohammed /> http://ajashadi.blogspot.com No matter what, find a way. Because thats what winners do. You can't improve what you don't measure. Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction and skillful execution; it represents the wise choice of many alternatives. "Live as if you were to die tomorrow. Learn as if you were to live forever." ------------------------------------------------------------- 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 -------------------------------------------------------------
