I have tried .jpg as the extension. It does not work.
I am using the Windows XP.
--- Michael McGrady <[EMAIL PROTECTED]> wrote:
> Caroline Jen wrote:
>
> >Thanks for your reply.
> >
> >I followed your advices:
> >
> >1. Try just:
> >frame/common/images/dhs-header-title.JPEG (with no
> >leading slash)
> >
> > does not work.
> >
> >2. You are right. The generated HTML is an <img
> >src="..." > tag. When I clicked "View Source", it
> is:
> >
> ><img
>
>src="/HSInfo/frame/common/images/dhs-header-title.jpeg"
> >width="600" border="0" alt="[information]">
> >
> >3. I copied the generated HTML tag (but changed
> 'img'
> >to 'html:img' and changed 'src' to 'page') to my
> >source code.
> >
> > does not work.
> >
> >4. I am using the Windows XP.
> >
> >5. I tried both .jpeg and .jpg
> >
> > does not work.
> >
> >I do not know what to do now. Please help more.
> >--- Wendy Smoak <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >>From: "Caroline Jen" <[EMAIL PROTECTED]>
> >>
> >>
> >>><html:img
> >>>
> >>>
> >>>
>
>page="/HSInfo/frame/common/images/dhs-header-title.JPEG"
> >
> >
> >>>border="0" width="800" alt="[infomation]"/>
> >>>The image does not get picked up in the browser.
> >>>Therefore, only the text "information" is shown.
> >>>
> >>>
> >>Have you tried it with a relative link? Try just:
> >>frame/common/images/dhs-header-title.JPEG (with no
> >>leading slash).
> >>
> >>It's best not to hard-code the name of the webapp
> >>into anything if you can
> >>avoid it... more to modify if you change it later,
> >>or like me, run -dev
> >>and -test versions with the same code under
> >>different context names.
> >>
> >>Shouldn't the generated HTML be an <img src="...">
> >>tag?? You wrote that it
> >>says 'page'. Copy and paste the entire tag from
> the
> >>HTML if it's still not
> >>working.
> >>
> >>If you're on UNIX, then it's case sensitive--
> .JPEG
> >>and .jpeg are not the
> >>same.
> >>
> >>Does your browser understand what to do with a
> .jpeg
> >>file? Try renaming it
> >>.jpg and see what happens.
> >>
> >>--
> >>Wendy Smoak
> >>
>
> My guess is that the problem is with .jpeg. There
> are all sorts of file
> extensions consistent with the JPEG protocol, e.g.
> jff, jif, jfif, jpe,
> jpeg and jpg. the former are all JPEG images and
> the later two (jpeg
> and jpg) are for JPEG compressed bitmpas and JPEG
> bitmaps,
> respectively. What your extension should be depends
> on what your image
> is. Do you know what the image is? My guess is
> that you have a JPEG
> bitmap and should be using .jpg as the extension.
>
> Michael
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]