Member Offer
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Photos on the Net

Discussion in 'Website Design Forum:' started by graphicrabbitstudios, Aug 3, 2010.

  1. 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:
    <img src="../../../Documents/greenandplain/greenandplain/images/kids mania.jpg">

    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:)

  2. Becky

    Becky Member

    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


    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 ""> they shouldn't be absolutely linked to folders on the computer


    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 :)
  3. 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
  4. Becky

    Becky Member

    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.
  5. 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
  6. Becky

    Becky Member

    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 :)
  7. basically now i have:

    <img src="images/kids mania.jpg"> but still a corrupt symbol when on the site.

    Look: Sam Jackson Design - Home
  8. Becky

    Becky Member

  9. Becky

    Becky Member

    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)
  10. Hey,

    I have changed it now to:

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

    Still no luck
  11. Becky

    Becky Member

    See above :p
  12. 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?
  13. Becky

    Becky Member


    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.
  14. Becky

    Becky Member

    Like this...

  15. Becky Thankyou very very much for your help:)

    I think this is an improvement from 2 hours ago:
    Sam Jackson Design - Home

    Once again you are a life save=D

  16. Adam

    Adam Senior Member

    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!
  17. 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 :)
  18. Hey,

    Does anybody know how to centralize my webpages?

    Some people say it is being viewed on the left hand side?


  19. hitech

    hitech Junior Member

    I think there is the path problem. You may be upload your pictures at wrong path.

Share This Page