Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying .jif images?

Status
Not open for further replies.

calista

Programmer
Jan 24, 2001
545
US
Anybody heard of .jif images? Yes, I do mean .jif, not .gif. I am wondering if they can be displayed in a browser? They seem to diplay in QuickTime, but I want to display them in a browser just like any other image. If you use the usual image tag, it just shows a blank square like it can't find the image, but it is there, trust me!

Anyone out there worked with these?

Thanks! Calista :-X
Jedi Knight,
Champion of the Force
 
calista,

Actually, .jif's should work in image tags just the same as .jpg's or .gif's. Although they are obviously not as common, I have seen them used in the <img src> tag plenty of times with no problem at all. Possibly a browser issue? I am not sure, but I know that the img src tag does technically work for .jif's. As a matter of fact I just went to a website where someone has one.


E-Z-E
 
calista,

Here was his code

<img SRC=&quot;declaration2.jif&quot; height=300 width=250>

I saw the image without a problem

E-Z-E
 
Does that work with any kind of picture file? I use Corel Photo Shop and I have to save everything to gif's which lose the color quality.
 
It will work for any picture format that the browser recogizes and knows how to render. If you're working with photographs, use JPEG (.jpg) You can use Truecolor and you should be able to control how much compression you use under your advanced save options. Preview the results of different compressions as JPEG is a lossy compression. The more you compress, the grainier the picture gets. Save your master images somewhere in TIF format and use optimized JPEGs on your site.
Jeff
I haven't lost my mind - I know it's backed up on tape somewhere ....
 
My guess is that these are either:

* JPEGs: JPEG File Interchange Format = JFIF, possibly also JIF?

* GIFs: Most people seem to mispronounce GIF these days, with a &quot;hard G sound&quot; instead of the correct &quot;jiff&quot; like the peanut butter. Where were youse guys back in the day, when CompuServe was king at 2400 bps and GIF was invented?

It seems pretty remote that it is anything else.

For that matter your browser doesn't care about a file extension anyhow. It looks at the MIME Type fed to it by the server.
 
dilenttante,

You got it! A jif is a JPEG File Interchange Format graphic. Very similar to jfif and jpeg.

E-Z-E
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top