473,473 Members | 2,124 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Using img src: Seeing inconsistent display of images.

9 New Member
Ok... Let me start over since I had miss labeled the other question and it ended up in phpland and I failed to follow the posting rules. Sorry, here's a rework.

(hey... I just saw the html code in it's window during a message preview. That is nice. Sorry I miss posted the html code the first time)

I'm using standard HTML on a ISP website (Lunarpages) running Lunix. I'm displaying images with the html img src command by full url.
Operating system Linux
Kernel version 2.4.21-47.ELsmp
Machine Type i686
Apache version 1.3.37 (Unix)

The images display about 50% of the time. After the failure I can post the full url in the web browser and pull up the image. The images are held at another seperate website (Smugmug).

I'll continue testing to determine if it would it help to drop the [HTML]http:// [/HTML]

Or if the url should be all lowercase?

I have ran additional tests from other public computers (public library) and have seen the same results.

I am asking for assistance to see if I have some html code errors or missing parms that may cause my problems or need additional parms that may remove this problem. Or if there is some way to help insure that the images load.
(and if other are seeing this problem)

I see some sites using more complex starting info (such as DOCTYPE). Would that help?

Any information on diagnostic techniques is welcome so that I could solve problems myself in the future.


Here is the site/page

www.elementope.com/indextest.html

The HTML code is listed below on can be viewed directly using the view source command on your browser while at the site.

[HTML] <html>
<head>
<title></title>
</head>
<body bgcolor="#FFFFFF">
</body>
<BR>
Original
<img src="http://IamaReporter.smugmug.com/photos/123964789-O.jpg" alt="Org" />
<BR>
Large
<img src="http://IamaReporter.smugmug.com/photos/123964789-L.jpg" alt="Large" />
<BR>
Med
<img src="http://IamaReporter.smugmug.com/photos/123964789-M.jpg" alt="Med" />
<BR>
Small
<img src="http://IamaReporter.smugmug.com/photos/123964789-S.jpg" alt="Small" />
<BR>
Thumbs
<img src="http://IamaReporter.smugmug.com/photos/123964789-Th.jpg" alt="Thumb" width="73" height="68" />
<BR>
Tiny
<img src="http://IamaReporter.smugmug.com/photos/123964789-Ti.jpg" alt="Tiny" />
<BR>
<BR>
<BR>
Original
<img src="http://IamaReporter.smugmug.com/photos/123959854-O.jpg" alt="Org" />
<BR>
Large
<img src="http://IamaReporter.smugmug.com/photos/123959854-L.jpg" alt="Large" />
<BR>
Med
<img src="http://IamaReporter.smugmug.com/photos/123959854-M.jpg" alt="Med" />
<BR>
Small
<img src="http://IamaReporter.smugmug.com/photos/123959854-S.jpg" alt="Small" />
<BR>
Thumbs
<img src="http://IamaReporter.smugmug.com/photos/123959854-Th.jpg" alt="Thumb" width="73" height="68" />
<BR>
Tiny
<img src="http://IamaReporter.smugmug.com/photos/123959854-Ti.jpg" alt="Tiny" />
</html>
[/HTML]

Thanks, KC
Jan 19 '07 #1
3 2275
kansaschuck
9 New Member
Ok... Let me start over since I had miss labeled the other question and it ended up in phpland and I failed to follow the posting rules. Sorry, here's a rework.

(hey... I just saw the html code in it's window during a message preview. That is nice. Sorry I miss posted the html code the first time)

I'm using standard HTML on a ISP website (Lunarpages) running Lunix. I'm displaying images with the html img src command by full url.
Operating system Linux
Kernel version 2.4.21-47.ELsmp
Machine Type i686
Apache version 1.3.37 (Unix)

The images display about 50% of the time. After the failure I can post the full url in the web browser and pull up the image. The images are held at another seperate website (Smugmug).

I'll continue testing to determine if it would it help to drop the [HTML]http:// [/HTML]

Or if the url should be all lowercase?

I have ran additional tests from other public computers (public library) and have seen the same results.

I am asking for assistance to see if I have some html code errors or missing parms that may cause my problems or need additional parms that may remove this problem. Or if there is some way to help insure that the images load.
(and if other are seeing this problem)

I see some sites using more complex starting info (such as DOCTYPE). Would that help?

Any information on diagnostic techniques is welcome so that I could solve problems myself in the future.


Here is the site/page

www.elementope.com/indextest.html

The HTML code is listed below on can be viewed directly using the view source command on your browser while at the site.

[HTML] <html>
<head>
<title></title>
</head>
<body bgcolor="#FFFFFF">
</body>
<BR>
Original
<img src="http://IamaReporter.smugmug.com/photos/123964789-O.jpg" alt="Org" />
<BR>
Large
<img src="http://IamaReporter.smugmug.com/photos/123964789-L.jpg" alt="Large" />
<BR>
Med
<img src="http://IamaReporter.smugmug.com/photos/123964789-M.jpg" alt="Med" />
<BR>
Small
<img src="http://IamaReporter.smugmug.com/photos/123964789-S.jpg" alt="Small" />
<BR>
Thumbs
<img src="http://IamaReporter.smugmug.com/photos/123964789-Th.jpg" alt="Thumb" width="73" height="68" />
<BR>
Tiny
<img src="http://IamaReporter.smugmug.com/photos/123964789-Ti.jpg" alt="Tiny" />
<BR>
<BR>
<BR>
Original
<img src="http://IamaReporter.smugmug.com/photos/123959854-O.jpg" alt="Org" />
<BR>
Large
<img src="http://IamaReporter.smugmug.com/photos/123959854-L.jpg" alt="Large" />
<BR>
Med
<img src="http://IamaReporter.smugmug.com/photos/123959854-M.jpg" alt="Med" />
<BR>
Small
<img src="http://IamaReporter.smugmug.com/photos/123959854-S.jpg" alt="Small" />
<BR>
Thumbs
<img src="http://IamaReporter.smugmug.com/photos/123959854-Th.jpg" alt="Thumb" width="73" height="68" />
<BR>
Tiny
<img src="http://IamaReporter.smugmug.com/photos/123959854-Ti.jpg" alt="Tiny" />
</html>
[/HTML]

Thanks, KC
I've contacted the site holding the images (Smugmug) and they say the images are there and that I should try clearing my cache. Some times that helps and the images begin displaying again. And if I cut the image URL from the code in 'view source' and post it to the browser then normally the image will display. Sometime they begin displaying and then later they quit.

Is there some way to log or trap the session?

FYI Firefox 1.5.0.9

Thanks,
Jan 19 '07 #2
drhowarddrfine
7,435 Recognized Expert Expert
You are missing some of the basics of a web page. The general format is this:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>

<head>

<title>Your title</title>

</head>

<body>

</body>

</html>

You are closing the body with </body> which may be the reason the images aren't showing. In addition, you are using Xhtml ending tags /> but your page is using html. Browsers sometimes ignore everything after the slash in that case.

The doctype is required but you don't have one. A doctype is the set of rules you are telling browsers you are using.

I think you need a look at a good tutorial on html and css before you continue. I like this guy.
Jan 19 '07 #3
kansaschuck
9 New Member
You are missing some of the basics of a web page. The general format is this:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>

<head>

<title>Your title</title>

</head>

<body>

</body>

</html>

You are closing the body with </body> which may be the reason the images aren't showing. In addition, you are using Xhtml ending tags /> but your page is using html. Browsers sometimes ignore everything after the slash in that case.

The doctype is required but you don't have one. A doctype is the set of rules you are telling browsers you are using.

I think you need a look at a good tutorial on html and css before you continue. I like this guy.
The Dr was in!

Thanks! that seemed to have calmed things down. And your html guy gives great, clear examples. He doesn't go real deep but I think that's why you sent me there so that I didn't get lost in all the options. I was in need of clean basic code.

Big thanks drhowarddrfine!

kc
Jan 21 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Applebrown | last post by:
Greetings, I'm attempting to make a simple horizontal navbar with three image links, and with those images replaced on hover and active... and I'm not sure of the proper CSS to do this, though...
0
by: David | last post by:
Please help. I am able to display a folder structure and files but I can't figure out how to add subfolders and maintain the same look. I am a little embarrased but I thought someone out there...
4
by: zborisau | last post by:
Hey good people, I've been given a problem to solve recently - and stuck with the solution for a good 4 days already. i have a link which leads to popup window. the purpose of that popup...
4
by: Japhy | last post by:
Hello, I'm am pulling data from a mysql db and want to use the data to populate a <ul. Here are relavent parts of my code : $wohdate = mysql_result($wohRS,$wohndx,woh_date); $woh_display...
12
by: Charlie King | last post by:
As I understand it, the use of FIR* to replace heading tags with images in visually enabled CSS browsers is now frowned upon on the basis that some screen readers will *nor* read back text that is...
1
by: James Black | last post by:
I am dynamically generating a table in IE to display some information. I will probably change it to divs later, but I just want to get it working properly first. In my div I have the following...
1
by: mhito | last post by:
hi guys, My first post yes. Thanks for all the nice posts and threads in this forum - great stuff. Now, here's my question: First off, the url : http://catfish.businesscatalyst.com/bcimg.htm...
3
by: printline | last post by:
Hello All I need a little help with a phph script to display some specific data from a mysql table. I have a mysql table with 4 columns and 10 rows. I want to display fx. data from row 4, 6, 8...
1
by: soms2m | last post by:
HELLO ALL, I want to fill the parent window height with respect to the sub window height which is loading using ajax (mootools). For example if the parent window height is normal and the loading...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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,...
0
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...
0
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...
0
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...

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.