Ranga Nathan wrote:
>
> My web site is running on Apache/BSD and I would like to know how I can
> serve PNG files. When I try to view PNG files from my site in IE, it prompts
> me to download QuickTime. Currently I have converted all my PNG images to
> GIF. ...I was just wondering if there is a way to actually view PNG files in
> the browser....hmmm
First, this is a Perl list; I don't know what your question has to do
with Perl.
Remember, Perl doesn't have anything to do with web servers (though some
people
use them together).
Second, if you're running a web site, you should know enough about your
server
and browser setup to answer the question above.
Trying to pull the answer back into the Perl realm:
If you've installed the LWP package, you can take a look at what headers
your
server is putting out for a given image:
lwp-request -de http://mysite.com/wherever/someimage.png
and make sure that the Content-type is set to "image/png".
Read the HTTP RFC or a summary of HTTP if you don't know what the
headers mean.
Then, make sure that your browser is capable of displaying PNG files and
is
configured to do so.
Read your manuals for your web server and/or browser if you need more
information.
--
Ned Konz
currently: Stanwood, WA
email: [EMAIL PROTECTED]
homepage: http://www.bike-nomad.com
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]