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.

Reply via email to