Click to See Complete Forum and Search --> : using %20 in imagae mames like big%house.jpg


benny666
03-26-2004, 08:19 AM
I found this site
http://www.ascotent.com/WindowTreatments.htm

that uses url encoding style name like
big%house.jpg

when I try to rename my pics and put a link to a picture with a name like that the browser will not accept it
e.g.

<html>
<body>
<img src="big%house.jpg">
</body>
</html>

the funny thing is that you can see his images from his server but when I try it locly on win (apache) or even in linux (apache) it will not show the pic

any ideas??

DaveSW
03-26-2004, 09:48 AM
that's what happens when you have a space in your filename. e.g. big house.jpg becomes big%20house.jpg when it's uploaded.

Not a recommended technique.

benny666
03-26-2004, 11:08 PM
Do you have any idea why did it work for this guy???
the files just load regularly on any browser I chaecked on any mechine win/linux win xp win 98

neenach2002
03-27-2004, 12:13 AM
The names of the files have spaces in them. When you look at the files in a browser, the %20 replaces a space.

benny666
03-27-2004, 02:00 PM
I realize that %20 replaces space on the broser my question is how is it that this site can put names with spaces in between then and I can't??

DaveSW
03-27-2004, 02:46 PM
It may depend how you upload your files. Some methods allow spaces. In any case, it's my personal opinion that %20 in the filename looks unprofessional anyway...

neenach2002
03-27-2004, 06:24 PM
I agree...Underscore looks better. And can usually be used to access the file too.