ok, I tried this <cfcontent type="image/tif" file="#thisPath#\test.TIF" deletefile="no" /> tif doesnt show up
but when i tried with 2 ff's, it works. i.e. <cfcontent type="image/tiff" file="#thisPath#\test.TIF" deletefile="no" /> However, I would Like Internet Explorer to show the tif image in browser window just like it does for jpg file. I have code which shows jpg in browser frame, but for tif, I get a pop up saying, open the file using Adobe photoshop. I guess thats because I have the software installed and Internet Explorer doesnt know how to serve tif. so question is, what i need to do so that tif is shown internet explorer iframe box. Thanks, <Ajas Mohammed /> http://ajashadi.blogspot.com We cannot become what we need to be, remaining what we are. 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. On Thu, Jun 4, 2009 at 4:21 PM, Ajas Mohammed <ajash...@gmail.com> wrote: > Hi, > > We have tif images stored in a directory and I was wondering whats the easy > way to render them in a cfm page. I tried jpg and it works fine. When I > right click and see properties for this image, I see Type as JPG file. When > I try .tif file, I get an x mark and when i see properties I see type as Not > Available. > > Both test.jpg and test.tif are available in the referred directory. > > Do I have to add MIME type .tif in IIS for cfm to serve tif images? > > My code is very straightforward > > <cfset thisPath = "\\10.10.10.5\Image_Upload"> > > > <cfcontent type="image/jpeg" file="#thisPath#\test.jpg" deletefile="no" /> > this works but when i try code below > > <cfcontent type="image/jpeg" file="#thisPath#\test.TIF" deletefile="no" /> > tif doesnt show up > > Any suggestions for this. > > thanks, > > <Ajas Mohammed /> > http://ajashadi.blogspot.com > We cannot become what we need to be, remaining what we are. > 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. >