Photos on the Net

Yes i know, a blo*dy pain i know but i am slowly getting there.

I have images uploaded and site is live however i cannot see my photographs.

Does anybody know where i am going wrong.

The image code is:
<p>
<img src="../../../Documents/greenandplain/greenandplain/images/kids mania.jpg">
</p>

I understand this is trying to read it from my documents etc, but does anybody know or have a link on how to change it?

Thanks in advance:)

Sam
 
graphicrabbitstudios said:
Yes i know, a blo*dy pain i know but i am slowly getting there.

I have images uploaded and site is live however i cannot see my photographs.

Does anybody know where i am going wrong.

The image code is:
<p>
<img src="../../../Documents/greenandplain/greenandplain/images/kids mania.jpg">
</p>

I understand this is trying to read it from my documents etc, but does anybody know or have a link on how to change it?

Thanks in advance:)

Sam


Not sure why it's wrapped in a paragraph tag ... but anyhow

it should read

<img src="/images/kids mania.jpg">

assuming the directory structure is something like

--root--
--images--

therefore the index or whatever html page will be pointing to the images in the images folder, not to your 'greenandplain' folder in your documents folder.

I.e. the 'greenandplain' folder would be the root directory of your FTP with all the other files and folders inside it. All the image links would start with "http://www.designforums.co.uk/images/filename.jpg"> they shouldn't be absolutely linked to folders on the computer

folders.jpg


This is probably something dreamweaver did, for instance when not working with defined sites (so it searches out the absolute file path) or, using the 'insert image' menu in some funky way. As opposed to writing the code by hand

* root refers to the base directory of your FTP, this is where the base html files live, i.e. index.html


(Sorry it's badly worded, done a lot of writing today, my head's a bit fried :)
 
Hello,

Thankyou, i am a novice to this.


I am just confused, what is my root directory file and where can i find it?

All i have been doing is saving all my files into a folder i have named on the desktop
 
root directory refers to the base folder of your FTP (or the folder you keep your html files inside on your computer). Where all the html files reside. Then you have your images folder inside that.
 
Yer i have everything in the one folder and an 'images' folder in that one too. Just i have uploaded that to my web hosting and im confused.

Basically the folder is on my desktop names 'exceed' and has everything inside it.

Just cant get any images to load
 
graphicrabbitstudios said:
Yer i have everything in the one folder and an 'images' folder in that one too. Just i have uploaded that to my web hosting and im confused.

Basically the folder is on my desktop names 'exceed' and has everything inside it.

Just cant get any images to load


Do they still have (in bold)

<img src="../../../Documents/greenandplain/greenandplain/images/kids mania.jpg">

in them? That's the bit that needs to be removed. It only needs to point to the images folder. Otherwise it's still looking at your desktop.

Alternatively.... you need to clear your browser cache if you've already changed that :)
 
Now the code has changed ... have you uploaded the images directory properly? It appears to not be able to find it (plus take the space out of the images name, might help)
 
i have tried it without the space between 'kids mania', i am uploading fils to my web host, i am simply just uploading each image indidivdually into the public_html folder.

is this correct?
 
no.

You need to upload the files in the main greenandplain folder into the main directory of your FTP.

Then you need to create a folder called images and upload the images into that folder.

If there are any other folders, i.e. css you need to recreate them and upload the correct files into that folder.

The file structure needs to remain the same as it is in the folder on your desktop.
 
I thought you had done that whole site then in 2 days after not having learnt HTML/CSS, until I looked in your source code and css file and saw its a free template :p

Just be careful your sticking to the laws/legalities of the CCA license it comes with!
 
Hey,

Basically i am only playing with this, getting used to the html/css etc and i am not copying but re-generating my own version of it:)

I am more of a practical than a theoretical type of person. I pick it up alot quicker by actually doing it.

One day, just one day :)
 
Back
Top