Images

Status
Not open for further replies.

legacy_graphics41

New Member
Messages
7
Reaction score
0
Points
0
I am a student at Clackamas Community College and am taking a web design course. I am trying to get a web page loaded. I believe I have uploaded the html file in the right location however I am unsure how to get the image on their so that I can veiw it on the internet. Can you please help me asap with this problem. Thank you. I am available at 541-420-7658 or at tonylundervold@yahoo.com. Those are the best means of contact.

Tony Lundervold
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
You need to make sure that the path to the image in the html file will point to its location when it is uploaded to the server. For example:
To insert an image called image.png placed in the same directory, use:
<img src="image.png" alt="Description of image"></img>

Also, what is your site's URL? Someone may be able to help you better if we can see the page.
 
Last edited:

techairlines

x10 Flyer
Community Support
Messages
2,867
Reaction score
165
Points
63
On your site, the image isn't loading because its a 404 Not Found error.

HTML:
<img src="http://x10hosting.com/forums/images/logo.gif" alt="Legacy Graphics" />

(Note: in your code its just images/logo.gif but the forum automatically adds the x10hosting forum URL in front for relative URLs)

Your code seems correct, but the location isn't right. Are you sure you uploaded it to siteurl/images/logo.gif?

EDIT:
I found your image under just /logo.gif. Remove the images part of the URL. Your code should just have src="logo.gif" .
 
Last edited:

legacy_graphics41

New Member
Messages
7
Reaction score
0
Points
0
I have the main html file saved in a folder called 125 websites. Within that file is a file called images. I have the logo.gif file in there.

---------- Post added at 07:28 PM ---------- Previous post was at 07:21 PM ----------

Because I have the file saved in a seperate file called images it removes the logo if I delete images from <img src="images/logo.gif" alt="Legacy Graphics" /></h1>
 

calistoy

Free Support Volunteer
Community Support
Messages
5,602
Reaction score
87
Points
48
So when we access your site, is it the index.html file in your public_html root or is it the index.html file in your 125 websites folder?

Edit: why does the url link to your logo not include the 125 websites folder? I don't see it in the link. You might want to put it in your forums images folder instead.
 
Last edited:

legacy_graphics41

New Member
Messages
7
Reaction score
0
Points
0
So please bare with me cause I am brand new to this but on my hard drive the html file is saved in my documents > 1websties -> 25websites. However, I went into the cpanel then to File manager and uploaded that file to the public_html file. Does the logo need to be uploaded too so it can find it?
 

techairlines

x10 Flyer
Community Support
Messages
2,867
Reaction score
165
Points
63
So please bare with me cause I am brand new to this but on my hard drive the html file is saved in my documents > 1websties -> 25websites. However, I went into the cpanel then to File manager and uploaded that file to the public_html file. Does the logo need to be uploaded too so it can find it?

Yes, you will need to upload your logo into a folder called images within public_html, so it can be found at /public_html/images/logo.gif.

Right now, it can be found at /public_html/logo.gif

EDIT: See descalzo's post below.
 
Last edited:
Status
Not open for further replies.
Top