Click here to get back home

The image name is hi%20there.jpg

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
The image name is hi%20there.jpg George Hester 10-16-2004
Posted by George Hester on October 16, 2004, 9:35 pm
Please log in for more thread options
Some images I want to link to using the IMG element have a name such as
hi%20there.jpg. If I try to do this:

<img src="hi%20there.jpg">

the image will not be found for the browser is going to expect its name to be

hi there.jpg

which it is not.
If the image has these "encodings" in the name how can I force the browser to
use the name exactly as it is?
In other words do NOT encode %20 to space? Renaming is not an option. Thanks.

--
George Hester
__________________________________


Posted by Leif K-Brooks on October 16, 2004, 6:08 pm
Please log in for more thread options
George Hester wrote:
> Some images I want to link to using the IMG element have a name such
> as hi%20there.jpg.
>
> If the image has these "encodings" in the name how can I force the
> browser to use the name exactly as it is? In other words do NOT
> encode %20 to space? Renaming is not an option. Thanks.

Encode the % itself: hi%2520there.gif


Posted by George Hester on October 17, 2004, 4:14 am
Please log in for more thread options
> George Hester wrote:
> > Some images I want to link to using the IMG element have a name such
> > as hi%20there.jpg.
> >
> > If the image has these "encodings" in the name how can I force the
> > browser to use the name exactly as it is? In other words do NOT
> > encode %20 to space? Renaming is not an option. Thanks.
>
> Encode the % itself: hi%2520there.gif

Ah thanks.

--
George Hester
__________________________________


Posted by George Hester on October 17, 2004, 5:15 am
Please log in for more thread options

> George Hester wrote:
> > Some images I want to link to using the IMG element have a name such
> > as hi%20there.jpg.
> >
> > If the image has these "encodings" in the name how can I force the
> > browser to use the name exactly as it is? In other words do NOT
> > encode %20 to space? Renaming is not an option. Thanks.
>
> Encode the % itself: hi%2520there.gif

Request contains invalid encoding. I never seen that before.

Here is the file's name:

n00% 2008.jpg

And the link is this:

http://www.myserver.com/n00%%202008.jpg

dagone it.

--
George Hester
__________________________________


Posted by Leif K-Brooks on October 17, 2004, 1:19 am
Please log in for more thread options
George Hester wrote:
>
>>George Hester wrote:
>>
>>>Some images I want to link to using the IMG element have a name such
>>>as hi%20there.jpg.
>>>
>>>If the image has these "encodings" in the name how can I force the
>>>browser to use the name exactly as it is? In other words do NOT
>>>encode %20 to space? Renaming is not an option. Thanks.
>>
>>Encode the % itself: hi%2520there.gif
>
> Request contains invalid encoding. I never seen that before.
>
> And the link is this:
>
> http://www.myserver.com/n00%%202008.jpg

Use %2520, not %%20.


Similar ThreadsPosted
Creating image maps with Adobe Illustrator or Image Ready. March 8, 2005, 12:42 pm
How to lauch an image editor when click on an image link ? November 8, 2004, 7:00 am
How can I replace a large image with other large images triggered from small image icons, mouse-overs or whatever??? July 26, 2004, 1:34 am
Text and Image inside table Alight Text Left and Image right in same cell ?? October 24, 2006, 12:55 am
tag? November 4, 2005, 2:06 am
Image which does not appear December 19, 2006, 1:33 pm
Image in the title January 7, 2005, 4:09 pm
invisible image? January 30, 2005, 9:01 pm
ALT image for text? February 28, 2005, 10:40 am
with background image - what's the right way? March 4, 2005, 5:51 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap