images not showing in Mozilla and Firefox

A

Alex D.

Hi, I have a frame in one of my pages that I use to show diferent pages each
time. I am experiencing an weird behaviour in Mozilla and Firefox, when the
frame's source is specified in the server side it works OK, but when the
content of the frame is changed in the client browser clicking over a link
then the frame dont render the pinctures but just the text. I dont
understand.
Any ideas??
Thanks.
 
K

Kevin Spencer

The only image types you can count on all browsers supporting are JPG and
GIF.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
We got a sick zebra a hat,
you ultimate tuna.
 
A

Alejandro Penate-Diaz

indeed, my images are jpg. I believe this is a problem related to relative
paths not being correctly recognized, but I dont understand why...I believe
my images relative path which is actually the same path as the htm page that
contains the images is not being correctly recognized. In IE it works OK.
 
J

john smith

Alex said:
Hi, I have a frame in one of my pages that I use to show diferent pages each
time. I am experiencing an weird behaviour in Mozilla and Firefox, when the
frame's source is specified in the server side it works OK, but when the
content of the frame is changed in the client browser clicking over a link
then the frame dont render the pinctures but just the text. I dont
understand.
Any ideas??
Thanks.
Try using a debugging proxy (in firefox there's a LiveHTTPHeaders
extension too). That way you'll be able to find out what's going on exactly.
 
L

Laurent Bugnion

Hi,

john said:
Try using a debugging proxy (in firefox there's a LiveHTTPHeaders
extension too). That way you'll be able to find out what's going on
exactly.

Also, Venkman is an excellent (free) client-side debugger for the
Mozilla browsers (Netscape, Mozilla, Firefox).

If you have problems with paths, try viewing the source, it might show
you what's wrong.

HTH,
Laurent
 
K

Kevin Spencer

Give use a URL and we can take a look.

There are several different JPG formats and types of compression. I don't
know, but it might have something to do with that.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
We got a sick zebra a hat,
you ultimate tuna.
 
A

Alex D.

guys this is the very simple code for the page in my frame...if I set the
frame's source at server's side my images are rendered, but I click over a
link to that same page in my browser then my frame dont show the pictures
but just the text "Some Text"

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Homepage</title>
</head>
<body>
<img src="pic1.jpg" width="216" height="86" />
<img src="pic2.jpg" width="216" height="63" />
<img src="pic3.jpg" width="144" height="44" />


<br />
<font face="Verdana" size="1"> Some text </font>

</body>
</html>
 
A

Alex D.

guys this is the very simple code for the page in my frame...if I set the
frame's source at server's side my images are rendered, but if I click over
a
link to that same page in my browser then my frame dont show the pictures
but just the text "Some Text"...and in FireFox when I right clik and select
Page Info and go to the tab "Media" the I see that my images are loosing its
relative path...for some reason FireFox is not taking into account the path
for my page and is putting my images in the root of my wen site....isn't
that weird??

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Homepage</title>
</head>
<body>
<img src="pic1.jpg" width="216" height="86" />
<img src="pic2.jpg" width="216" height="63" />
<img src="pic3.jpg" width="144" height="44" />


<br />
<font face="Verdana" size="1"> Some text </font>

</body>
</html>
 
A

Alex D.

guys the problem is in my URL address some / are \ for some reason it work
ok in IE but not in Firefox, mozilla. I still need to check if I am sending
bad-formed url's and IE is fixing them, or if Firefox-Mozilla are changing
my / to \
 
A

Alex D.

ok guys it was me sending bad urls...
IE automatically changes \ to / if and only if the \ is not before the root
for the web app.
Thanks everybody!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top