Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Downloading a file vs displaying it
Message
De
06/11/2003 11:35:23
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
Internet
Catégorie:
Browsers
Titre:
Downloading a file vs displaying it
Divers
Thread ID:
00847183
Message ID:
00847183
Vues:
57
I have a website that allows our customers to search and download our product images/logos. We have several different image types including .gif, .jpg, and .tif.

If I create and display a hyperlink to a .jpg as follows, the image is shown to the user in their browser when they click the link.
http://myaddress/art/mypicture.jpg

However, if I hyperlink a .TIF and the user clicks on the hyperlink, the browser's File Download dialog displays and allows the user to download the .TIF.
http://myaddress/art/mypicture.TIF

We expect this behavior.

However, one of our users experiences the same behavior regardless of file type, .gif, .jpg or .tif. When this user clicks the hyperlink for the .TIF, the browser attempts to display the .TIF in the browser, and since the browser can't display a .tif image, a small unknown image displays in the browser instead.

Why doesn't the user's browser display the File Download dialog to the user so they can download the .TIF? Is there a file association somewhere in the browser that tells the browser what file type to display and which ones to download?

Thanks,

Jerry
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform