News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

PHP and TIFF Images

Started by Oldiesmann, April 04, 2004, 10:54:18 PM

Previous topic - Next topic

Oldiesmann

I've noticed that it seems php doesn't support TIFF images. I've tried posting a TIFF image on several php-boards (part of my "spamming for SMF" hobby...), and it always just shows a box with a red "x" in a white square in the upper left corner like it can't find the image.

Example:



Image does exist at http://members.lycos.co.uk/oldiesmann/SMFW.tif

Any clues why this would happen? Not that I'd be posting many TIFF images online, especially since it's such a huge file format (that one is 1.46MB), but just curious as to why this would happen. (yes, my browser supports TIFF images... apparently Quicktime handles those now).
Michael Eshom
Christian Metal Fans

Parham

umm, i'm confused.. is php outputting the tif file (is it being generated) or is the php script just ouputting html which has a <img> tag which has a tiff file (i know that was a handful).  if it's the second one (php -> html -> tiff), then it's probably the browser.

Chris Cromer

Lycos has it set up so that images don't display on sites outside of lycos. It isn't a php or tiff problem, but that lycos is protecting their bandwidth.
Chris Cromer

"I was here, here I was, was I here, sure I was" - The little voice in my head.

Oldiesmann

No they don't Chris... Example:



But if I try the .tif

Michael Eshom
Christian Metal Fans

Chris Cromer

Oh wait sorry... it was www.tripod.lycos.co.uk that blocked them. I guess members.lycos.co.uk doesn't.
Chris Cromer

"I was here, here I was, was I here, sure I was" - The little voice in my head.

[Unknown]

Firefox, at least, doesn't have inline TIF support.  I think I'd have to have the quicktime plugin for it installed or something.

-[Unknown]

Oldiesmann

There are lots of different TIF plugins apparently....

At my school we use somethiing called AlternaTIFF Image Viewer, but that's not available for Firefox...
Michael Eshom
Christian Metal Fans

dschwab9

IE doesn't view tiff's inline either.  I think it will, however, with the quicktime plugin.

Advertisement: