I am trying to display either a .bmp or .jpg file. This is how we are
geetting our Geography questions.

I have the following code. It is just a little test script to try to get
something to work.

<A href="/Tivities/CPAGEU.asp"><Img Src="C:\ArCdMaps\KYAC.bmp" Height="225"
Width="475" Usemap="#USA">
<A href="/Tivities/CPAGEU.asp"><Img Src="C:\ArCdMaps\KYAC.gif" Height="225"
Width="475" Usemap="#USA">
<A href="/Tivities/CPAGEU.asp"><Img Src="C:\ArCdMaps\KYAC.jpg" Height="225"
Width="475" Usemap="#USA">

Only the .gif image displayes. Yes all three images are in the directory.
It is just that we get the graphics from the test center in Chattanooga.

Thanks in advance for any explanation!

Len

Re: Understanding Image Source by Agoston

Agoston
Mon Aug 16 05:06:31 CDT 2004


"Len" <Len@discussions.microsoft.com> wrote in message
news:217B63A5-4AB3-4442-BAC7-0BDD4ABF056B@microsoft.com...
> I am trying to display either a .bmp or .jpg file. This is how we are
> geetting our Geography questions.
>
> I have the following code. It is just a little test script to try to get
> something to work.
>
> <A href="/Tivities/CPAGEU.asp"><Img Src="C:\ArCdMaps\KYAC.bmp"
Height="225"
> Width="475" Usemap="#USA">
> <A href="/Tivities/CPAGEU.asp"><Img Src="C:\ArCdMaps\KYAC.gif"
Height="225"
> Width="475" Usemap="#USA">
> <A href="/Tivities/CPAGEU.asp"><Img Src="C:\ArCdMaps\KYAC.jpg"
Height="225"
> Width="475" Usemap="#USA">
>
> Only the .gif image displayes. Yes all three images are in the directory.
> It is just that we get the graphics from the test center in Chattanooga.

It's maybe because you haven't closed your <A ...> tags. This can cause some
mess in the output. The correct syntax is:

<A href="/Tivities/CPAGEU.asp">
<Img Src="C:\ArCdMaps\KYAC.gif" Height="225" Width="475" Usemap="#USA">
</A> <!--That's what you forgot-->


>
> Thanks in advance for any explanation!
>
> Len