User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 427,118 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,089 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1485 | Replies: 5
Reply
Join Date: Oct 2006
Location: South Wales
Posts: 150
Reputation: HLA91 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 2
HLA91 HLA91 is offline Offline
Junior Poster

Question Viewing pictures online

  #1  
Nov 14th, 2006
Hi
I posted a thread similiar to this earlier and it worked for one pic i uploaded.
I tried uploading some others and they look fine when viewing them from the hard drive but when i upload them i get an empty square. this is the code i have marked the picture codes in bold.


[html][<!DOCTYPE HTML PUBLIC "-//w3c//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<p><font size="5">Fran is Bi</p></font>
<p><font size="5">Aldo fancies India</p></font>
<p><font size="5">Julia fancies Omer</p></font>
<p><font size="5">Alexandra fancies Mr Roberts</p></font>
<p><font size="5">India is Bi</p></font>
<p><font size="5">Wooshi fancies Guff</p></font>
<img src="wooshie.gif" width="130" height="120" border="0">
<p><font size="5">Omer fancies Florence who left</p></font>
<img src="omer.gif" width="130 height="120 border="0">
<p><font size="4">[/html]
Please contact me at email address removed.
HLA, Chief Designer]

What is going wrong
Thanks

HLA91
Last edited by tgreer : Nov 14th, 2006 at 2:30 pm. Reason: Added missing code tags. Removed email address.
You know your a geek, if you introduce your wife as "mylady@home.wife"
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Posts: 1,590
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 35
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: Viewing pictures online

  #2  
Nov 14th, 2006
Are the images in the same folder as the HTML? You need to provide a path to the images. Please research relative paths , absolute paths , and the base href property.
Reply With Quote  
Join Date: Nov 2006
Posts: 4
Reputation: josephfrancis is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 1
josephfrancis josephfrancis is offline Offline
Newbie Poster

Re: Viewing pictures online

  #3  
Nov 24th, 2006
Hello,

See this --> <img src="omer.gif" width="130 height="120 border="0">


replace with <img src="http://www.mywebsite.com/omer.gif" width="130 height="120 border="0">


then check http://www.mywebsite.com/omer.gif comes up in your web browser.

The best rules to abide with are:

1. Upload your images first via ftp to your server
2. Use the full image path like my example.

If they appear in your browser they should appear in your webpage.

Good Luck with it

Joe
Free website building tips and tricks - http://www.websitebuildersguide.com
Reply With Quote  
Join Date: Jul 2005
Location: india
Posts: 147
Reputation: katarey is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 16
katarey's Avatar
katarey katarey is offline Offline
Junior Poster

Help Re: Viewing pictures online

  #4  
Nov 24th, 2006
Hi there,

Well your both post are similar, for answer you should review the you last post,

ok here the some examples:-

img tag

<img src="Location of you Image" alt="alternate text" border="0" />

Examples 1:

When the HTML Page and the image in same folder

<img src="image.jpg" alt="My Image" border="0" />


Examples 2:

When the HTML Page in root of website and the image in folder name images which is in root website,

<img src="/images/image.jpg" alt="My Image" border="0" />

First “/” represent the root
“Images” represent the folder where the image is stored/saved
“image.jpg” its name of image

Best regards
Rahul Dev
Freelance Web Designer & Developer
Http//www.Katarey.com
Reply With Quote  
Join Date: Nov 2006
Posts: 4
Reputation: josephfrancis is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 1
josephfrancis josephfrancis is offline Offline
Newbie Poster

Re: Viewing pictures online

  #5  
Nov 24th, 2006
Hello with my years of experience i have learnt its best to:

1. Upload your images first to your server
2. Use the full image path
3. Use a qaulity program Like Namo Web Editor, add an image and provie the url of the image.

All you need to do then is upload your webpages and you don't have to worry about anything else.

Good Luck with it

Joe
Free website building tips and tricks - http://www.websitebuildersguide.com
Reply With Quote  
Join Date: Oct 2006
Location: India
Posts: 1,289
Reputation: vishesh is on a distinguished road 
Rep Power: 5
Solved Threads: 32
vishesh's Avatar
vishesh vishesh is offline Offline
Nearly a Posting Virtuoso

Re: Viewing pictures online

  #6  
Nov 24th, 2006
this is a good page which may tell you how to put an image and all those relative, absolute paths.

http://pagetutor.com/html_tutor/less...ml#insertimage
Last edited by vishesh : Nov 24th, 2006 at 11:12 pm.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb HTML and CSS Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 6:15 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC