37 users online (0 members and 37 guests)  


  Results 1 to 3 of 3

Related

  1. mac email sent folder problem    Forum: General Discussion
    Replies: 0
  2. Replies: 1
  3. Need To Link to Image In A folder Above    Forum: HTML Forum
    Replies: 4
  4. Uploading a Folder    Forum: HTML Forum
    Replies: 11
  5. Folder referencing    Forum: HTML Forum
    Replies: 2
  1. #1
    jk634330's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2009
    Posts
    1

    problem linking image in folder within the main folder

    I'm creating a webpage from scratch using notepad and I've found that the folder that I'm using is becoming overcrowded with too many files. I wanted to organize them by putting them in their own respective folders within my main folder, however when I try to link the image in my script, it won't link it properly.

    the name of my main folder is called Final webpage and the new folder I've created is called phillyaidswalk2009. I tried to link the image to the folder within my main folder but all that occurs is this:

    /C:/Users/Jackie/Documents/Final webpage/bothwinners-paw.html.

    It says that the file doesn't exist!! it won't link the folder with the image (bothwinners-paw.jpg) in it. Instead, it will only seem to link from my Main folder no matter how I change it.

    Does anyone know how I can write this script differently so that it will pull the image from it's respective folder instead of constantly pulling from the main one?

    Here's how I tried to write it and it didn't work:
    img src="phillyaidswalk2009/bothwinners-paw.jpg" width="720" height="481"

    I appreciate the help!

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Re: problem linking image in folder within the main folder

    Just to make sure I understand

    The page is locafed at
    /Users/Jackie/Documents/Final webpage/bothwinners-paw.html

    This page is calling the image located at
    /Users/Jackie/Documents/Final webpage/phillyaidswalk2009/bothwinners-paw.jpg

    If this is correct - phillyaidswalk2009/bothwinners-paw.jpg should work. If viewing with explorer be sure to hold ctrl while refreshing, if using firefox hold shift while refreshing.
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting

  3. #3
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Re: problem linking image in folder within the main folder

    Just hit me, change / to \ if it is on your local windows machine
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting