JPEG images sometimes don't display.

R

Ron Brennan

Good evening.

An HTML problem maybe, but one that I think can be solved with JavaScript.

I have a page which is supposed to display several small JPEG images using
elements like:

<image src="SmallImages/image1.jpeg" height="40" width="30"></image>

The image files are fine - I can open them reliably by double clicking in
Windows Explorer. But in a browser sometimes they display properly and
sometimes not and it's not always the same images that don't display.

I'm betting this behavior and its solution is well known to at least hard
core developers and I'd be quite appreciative if someone would give me a
hand.

Thank you,
Ron.
 
G

George Hester

It should be <img not <image. I don't know of any <image tag in HTML 4.01.

It would be best to state the browser you are using where this happens. I have seen this often
with virtually no explanation in Netscape and Mozilla.

It can be Network difficulties (slow) it could be the domain the images are from is being blocked
by your security (AV and the like).
 
R

Ron Brennan

It should be <img not <image. I don't know of any <image tag in HTML 4.01.

It would be best to state the browser you are using where this happens. I
have seen this often
with virtually no explanation in Netscape and Mozilla.

It can be Network difficulties (slow) it could be the domain the images are
from is being blocked
by your security (AV and the like).

--
George Hester


I did change the tag to <img and it still doesn't work. The browser is IE
5.0. And it is probably not being blocked by anything because other images
that are similar in all ways are getting through. I don't think it would be
inappropriate to give the URL www.quick-trader.com It's going to be an
on-line Want Ads service similar to eBay without the bidding. You'll notice
that the first picture is not showing.

Ron Brennan
 
R

Ron Brennan

I haven't finished the fix but it appears that the problem was that the
extension .jpg was being referenced as .JPG in parts of the system which
were forgiving and in others that were not.

Thanks for all the help.
 
G

George Hester

Yes Ron watch the names of the jpg's. For example if a jpeg is named thus:

40%20io.jpg you will not get anything. The %20 becomes a space and the name is not 40 io.jpg. So watch the
naming. If you are having trouble with jpg and JPG that's interesting. Microsoft's Windows http server is not case
sensitive.

Lastly your site is down so I couldn't "see" what you are talking about.
 
R

Ron Brennan

Yes Ron watch the names of the jpg's. For example if a jpeg is named thus:

40%20io.jpg you will not get anything. The %20 becomes a space and the name
is not 40 io.jpg. So watch the
naming. If you are having trouble with jpg and JPG that's interesting.
Microsoft's Windows http server is not case
sensitive.

Lastly your site is down so I couldn't "see" what you are talking about.

--
George Hester

-------------------------------------------------------

I'm implementing the fix this evening. My reason for thinking I've
identified the problem is that when I changed the suffix to lowercase it
worked fine. The problem might be in another part of the system.

My server is in my living room and generally on from 8 AM to 9 PM Eastern
time. I should have stated that. Sorry.
 

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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top