473,765 Members | 2,005 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="SmallImage s/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 1807
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_******** ************@ma gma.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="SmallImage s/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********@hot mail.com> wrote in message
news:0B******** *************@t wister.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******** ************@ma gma.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********@hot mail.com> wrote in message
news:U4******** *************@t wister.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********@hot mail.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
18374
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 but I need to create a AVI file. I also am aware of the sample code provided by sun in the following link that shows how to create a MOV file from JPEG images (http://java.sun.com/products/java-media/jmf/2.1.1/solutions/JpegImagesToMovie.html). ...
10
19528
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 uploaded JPEG file, search for the markers C2, C6 and CA in the stream, and then set a variable of some sort to specify whether or not these markers are present. (The reason I need these is to determine whether the JPEG is in "Progressive" or "Baseline"...
0
3787
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 and white CCITT4 compressed files (frames) inside the tiff. Every now and then I receive a mixture of black and white CCITT4 and JPEG compressed files, and sometimes just multi-page tiffs with JPEG only. The code runs great when dealing with the...
16
11879
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. I can do this individually for each graph but this does not help me as I need both on the same JPEG. I thought I would try an export the form that contains both but I am having trouble. (My VBA is self taught and a little knowledge is...
4
2729
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 my items and I can review things at anytime - on the desktop where I created all this - no problem so far. I networked the mdb file (only) across to my laptop and found the pictures don't show. So I guess my database table is only storing links to
12
2847
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 && function_exists('imagecreatetruecolor') && preg_match('/2\.0/i', $this->gd_info_array)) { $newImage = @imagecreatetruecolor($configArray, $configArray);
1
2555
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 how we can invoke or use the IJG LIB through C#. Thanks in Advance MasooD
3
2674
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, and now when somebody clicks on thumbnail, they do not get the full-size image. Whether you use IE, Mozilla or whatever, same problem. Everything else seems okay on new server. e.g. the images in IMG tag display always.
5
13379
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 http://mghospedagem.com/images/controlpanel.jpg instead of http://mghospedagem.comhttp://mghospedagem.com/images/controlpanel.jpg As u see, there's the website URL before the image URL.
0
9404
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9835
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8833
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7379
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5277
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3926
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.