in reply to (tye)Re: What's wrong with this picture?
in thread What's wrong with this picture?

My picture, which I was trying to upload today, was definitely a lower case '.gif'. Are there other factors in the naming convention? - e.g. my browser filled in "D:\pmpic.gif", (I'm on a Win32 box) I tried without quotes and also with forward-slash instead. Still no joy.

Cheerio!
Osfameron

Replies are listed 'Best First'.
(tye)Re2: What's wrong with this picture?
by tye (Sage) on Nov 09, 2001 at 04:29 UTC

    Well, the code that generates that particular error is:

    unless ($content =~ /(jpeg|gif|png)$/) { return "this doesn't look like a jpg or gif!" }
    so I don't see any other obvious problems.

    The "D:" says you are probably on Windows which means that your browser could certainly be replacing the letter case of what you type with the letter case of the name of the file.

    And if you have a file whose name is all upper case, then Windows has an annoying habbit of displaying that file name in lower case or simply capitalized. So you might try renaming the file so that the first part of the name contains some capital letters (not counting the first letter).

            - tye (but my friends call me "Tye")