473,322 Members | 1,501 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

JPEG images sometimes don't display.

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.


Jul 23 '05 #1
6 1785
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
__________________________________
"Ron Brennan" <rb******@magma.ca> wrote in message news:v_********************@magma.ca...
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.



Jul 23 '05 #2

"George Hester" <he********@hotmail.com> wrote in message
news:0B*********************@twister.nyroc.rr.com. ..
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
Jul 23 '05 #3
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.
Jul 23 '05 #4
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
__________________________________
"Ron Brennan" <rb******@magma.ca> wrote in message news:Lo********************@magma.ca...
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.

Jul 23 '05 #5
"George Hester" <he********@hotmail.com> wrote in message
news:U4*********************@twister.nyroc.rr.com. ..
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.


Jul 23 '05 #6
Ron Brennan wrote:
"George Hester" <he********@hotmail.com> wrote
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.


I always try to name files and folders lower case, and never use spaces
(underscore if necessary), I think either one can still cause problems
on some servers.
Jul 23 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Derek | last post by:
I wanted to know if anyone had any insight or sample code of creating an AVI file from a directory of JPEG images. I have read the thread that that speaks about creating a MOV file from JPEG images...
10
by: Ryan Cooper | last post by:
Can anyone give me an idea or better yet, a code sample, demonstrating how to parse a JPEG header and search the header for markers located in the stream? Basically, I need to analyze an...
0
by: frankenberry | last post by:
I have multi-page tiff files. I need to extract individual frames from the multi-page tiffs and save them as single-page tiffs. 95% of the time I receive multi-page tiffs containing 1 or more black...
16
by: David Lauberts | last post by:
Hi Wonder if someone has some words of wisdom. I have a access 2002 form that contains 2 graph objects that overlay each other and would like to export them as a JPEG to use in a presentation....
4
by: Rednelle | last post by:
Greetings all, As a newbie, using Access 2000, I would appreciate advice on the best way to include pictures. I have developed a 'Home Inventory' database which can include jpeg thumbnails of...
12
by: comp.lang.php | last post by:
index.php: // STUFF // STEP 1: imagecreatetruecolor ONLY IF GD 2.0+ SUPPORTED AND FOUND if ($this->isSuccessful && !$hasMogrified && $image && !$newImage &&...
1
by: Masood | last post by:
Greetings, We are writing an application wherein we have to display jpeg images, we are thinking of using the IJG JPEG LIB written in C code. Will be greatfull if someone could guide us as to...
3
by: J(ohn|ane) Doe | last post by:
I have many webpages with thumbnail pictures. Each thumbnail is a hyperlink to a large picture. The HTML code is similar to this: Now this worked okay on my old server. I got a new webhost,...
5
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.