Thanks Mischa and Charlie.

Yeah, it all comes down to client side. Charlie, it will be for all users,
so I guess, since client requested it, they would have there browsers
configured. I have it working from CF perspective and if something doesn't
work, we could go in the direction of different file format.

Thanks for your suggestions.


<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 5:40 PM, Mischa Uppelschoten <
[email protected]> wrote:

>  If you're on CF8 and performance is not a big issue, you could use
> cfimage to read the tiff and then convert it to jpg... AFAIK, only the more
> obscure browsers natively support tiff (
> http://en.wikipedia.org/wiki/Comparison_of_web_browsers#Image_format_support)
> so you'll be stuck with the no-control-over-the-client-side issue that
> Charlie mentioned.
> /m
>
>
> : ok, I tried this <cfcontent type="image/tif" file="#thisPath#\test.TIF"
> :  deletefile="no" /> tif doesnt show up
>
> : but when i tried with 2 ffs, 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 cant improve what you dont 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 
> <[email protected]><[email protected]>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 cant improve what you dont 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.
> :
>
>
>
>
> Mischa Uppelschoten
> VP of Technology
> The Banker's Exchange, LLC.
> 4200 Highlands Parkway SE
> Suite A
> Smyrna, GA 30082-5198
>
> Phone:    (404) 605-0100 ext. 10
> Fax:    (404) 355-7930
> Web:    www.BankersX.com
> Follow this link for Instant Web Chat:
> http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN
>  ----------------------- *Original Message* -----------------------
>
> *From:* Ajas Mohammed <[email protected]> <[email protected]>
> *To:* [email protected]
> *Date:* Thu, 4 Jun 2009 16:36:07 -0400
> *Subject: [ACFUG Discuss] Re: CF 7 & tif images*
>
> 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 <[email protected]> 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.
>>
>
> ------------------------------------------------------------- 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-------------------------------------------------------------

Reply via email to