posting images with (% etc in fails
posting images with (% etc in fails
Author
Discussion

andypowell

Original Poster:

3,130 posts

282 months

Tuesday 18th January 2005
quotequote all
Hi

Tried posting this

www.e4lution.com/lemans2004/images/a%20(23)_JPG.jpg

it cant cope as an image or a link..................

can a nerdy programming dude sort it?

Alex

9,978 posts

306 months

Tuesday 18th January 2005
quotequote all
You're right, I can't get it to work either! Ted!

agent006

12,058 posts

286 months

Tuesday 18th January 2005
quotequote all
Like this?

the only reason there's a % in that filename is because the original was saved with a space in the name. This gets converted to %20 by the web server. Any decent web designer would realise this and rename the file accordingly.

Oh, and "nerd" is not considered a compliment by the way.

Alex

9,978 posts

306 months

Tuesday 18th January 2005
quotequote all
agent006 said:
Like this?

the only reason there's a % in that filename is because the original was saved with a space in the name. This gets converted to %20 by the web server. Any decent web designer would realise this and rename the file accordingly.

Oh, and "nerd" is not considered a compliment by the way.


That's cheating!

No, the complimentary term is "geek"

pdV6

16,442 posts

283 months

Wednesday 19th January 2005
quotequote all
How about this:




Basically, there are several "special" characters that can't directly be used in a web address. Space is one (use %20 instead), as are ( and ) - use %28 and %29.

PetrolTed

34,461 posts

325 months

Wednesday 19th January 2005
quotequote all
andypowell said:
Hi

Tried posting this

www.e4lution.com/lemans2004/images/a%20(23)_JPG.jpg

it cant cope as an image or a link..................

can a nerdy programming dude sort it?


It's not the % that's tripping it up, it's the brackets. I'll modify the parser.

andypowell

Original Poster:

3,130 posts

282 months

Wednesday 19th January 2005
quotequote all
nice one thanks!

pdV6

16,442 posts

283 months

Wednesday 19th January 2005
quotequote all
PetrolTed said:

It's not the % that's tripping it up, it's the brackets.

See