[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] Re: Images and CSS not displaying in browser output

Are you loading the page in the internal Eclipse browser as file://path/to/file.php? Or http://localhost/path/to/file.php? Which one works in your external browser?

And have you considered setting Eclipse to use a different browser for previews?

Are you running some http server locally, eg., jetty, lighttpd, apache? If not, you can't use http://localhost addresses, only file:// addresses.

(BTW, a new integration build of PDT 2.0 is out. If you're ready to move up to Eclipse 3.4, I'd suggest trying the new PDT.)

Nick

Shagy wrote:
Hi,

My Browser Output (tab) is not including my CSS file and my images are all showing a Red X.

If I put the full path to my images; for example, <img src="f:\web\images\theimage.jpg" />
it works, but if i put <img src="/images/theimage.jpg" /> it shows the red x.


If I access the page directly from within firefox or IE the images and CSS are displayed.

i'm using php 5 with pdt 1.0.3 on windows xp.

-- Nick Boldt :: Release Engineer, IBM Toronto Lab Eclipse Modeling :: http://www.eclipse.org/modeling http://wiki.eclipse.org/index.php/User:Nickb