Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Displaying a tif image

 
Beth Barja
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I have been working on displaying a tif image from a jsp page. I am running into issues where some people are able to see the image and others are not.
I have a feeling that this is related to what "tif" is associated with on their local machine. I have tried embeding the image in a page, providing a link directly to the image, coping the image locally. I am fresh out of ideas to try.
I saw something about converting tif images to other image formats not too long ago, but I am not sure if that is the best way to go.
I would greatly appreciate any ideas you have to offer.
Thanks -- Beth
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65227
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I may be wrong, but I don't think TIF files are natively supported by many browsers out-of-the-box. Perhaps what you are seeing is the difference between browsers that have had plug-ins down-loaded or not.
Just a thought,
bear
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another possibility is that some browsers may require a content-length in addition to the content type, while others don't need the length.
Bill
 
Tim Holloway
Saloon Keeper
Posts: 18304
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had to do something very similar recently, I cheated and converted the TIF to a PDF. Almost EVERYBODY can handle that!
My experience with PDF's BTW, is that static PDF's server up fine, but dynamic ones give Netscape 4 indigestion unless you provide the content-length.
 
Beth Barja
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you, all of the answers were helpful in the process of deciding how I want to make this work.
Tim,
Out of curiosity what did you use to convert TIF to PDF?
Thanks -- Beth
 
Joe Pardi
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
TIF is only natively supported by IE on Windows 2000. For all other browsers/operating systems, you need a TIF plug-in or convert it to PDF.
As for a free plug-in, take a look at AlternaTIF,
http://www.alternatiff.com/
Good luck ...
 
Tim Holloway
Saloon Keeper
Posts: 18304
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are a number of TIF-to-PDF solutions. I think the Acrobat distiller can do it, but if not, there are commercial products that can.
I couldn't make the cost/convenience tradeoff, so I just loaded the TIF into "the Gimp" image maipulation program and did a "print to PostScript File", then used the ps2pdf utility (under Linux) to convert.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic