|
-
Nov 7th, 2001, 05:33 PM
#1
Thread Starter
New Member
PNG image
I have used gd library and created a png image, when I put it IE using the <img> tag, it is ok and IE can show the image, but when I tried it on netscape (4.05), netscape asked me to download the image instead of showing it, why?
-
Nov 7th, 2001, 05:52 PM
#2
Member
It probably has no idea what a PNG is (no associated mime type) so it just asks to download it.
-
Nov 8th, 2001, 02:01 AM
#3
Conquistador
It is a fireworks image...
The association might be in the netscape's options.
-
Nov 8th, 2001, 09:35 AM
#4
Thread Starter
New Member
Thx for the reply but...
but when I use netscape and goto other people's web page that contain PNG, netscape can show the PNGs with no problem. So it might not be the file association problem......
-
Nov 8th, 2001, 11:44 AM
#5
Black Cat
Then you need to configure your server to correctly handle the PNG mime type. IE will guess based on the file extension, other browsers won't.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Nov 8th, 2001, 11:46 AM
#6
Black Cat
Or if you're programming it yourself, set the Content-type manually. It's probably "image/png", but double check.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|