PDA

View Full Version : .jpg, .JPG


uhsites
01-06-2004, 01:41 PM
Why do some programs default to the capitalized extension, rather than to .jpg?
Is there a difference if the picture is saved capital rather than uncapital?

y6y6y6
01-06-2004, 01:54 PM
"Is there a difference if the picture is saved capital rather than uncapital?"

There's no difference. The file will be the same, and programs should treat it exactly the same no matter what case the extension is in.

However - File names are case sensitive on Hostrocket's servers. So if you save as uppercase you'll need to make sure you always use that. This can be a problem if you or your users ever type in file names in the address bar.

uhsites
01-06-2004, 02:02 PM
I figured that out about HR... a program saved my jpeg as .JPG and I didn't realize it, I uploaded it, and the pic didn't show. I had to go change it to .jpg (because the .html page called for 'image.jpg', not image.JPG').

Photoimpact (not that great of a program, but I just use it for simple cropping/resizing photos and use other programs for graphics work) always wants to save it capital.
Any idea why? any way I can change it to save them as .jpg?

uhsites
01-06-2004, 02:09 PM
Hmm... is there any way to use the command to print the screen resolution, instead of a javascript alert?

-rAz-
01-07-2004, 06:36 AM
uhsites: document.print ?

HR is case sensative coz its unix/linux which is case sensative when it comes to files and directories

y6y6y6
01-07-2004, 09:10 AM
"is there any way to use the command to print the screen resolution, instead of a javascript alert?"

Confused....... Did this get posted to the wrong thread?

If this is about the Javascript alert that displays screen resolution then the answer is yes, you can Javascript do whatever you want with it. It's just a text string at that point.

Not sure what you'd do with that though. Surely the user knows what their screen resolution is.

uhsites
01-07-2004, 10:08 AM
Ooops, I did post that in the wrong thread. Thanks though.

Not everyone is computer literate-- I know a lot of people who don't even know what their screen resolutions are (or what a screen resolution even is).

-rAz-
01-09-2004, 11:26 AM
either way use document.print instead of alert :)

uhsites
01-09-2004, 12:28 PM
*duh* thanks, I did use document.print and it's just what I wanted :)