Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Web Photos

Sep 26, 2005 6:09PM PDT

Hi, I have forgotten which folder to put my .jpg files into so that my html programming recognises where it is and shows it on a preview web page. At the moment I am writing the html for practice (as I haven't got around to buying Dreamweaver yet!) Any help will be appreciated.
Thanks,
Guenter.

Discussion is locked

- Collapse -
Where ever
Sep 26, 2005 6:48PM PDT

Where ever you upload them to is where you have to tell the url to find them when you want to put them on your webpage.

Hope this helps

- Collapse -
HTML
Sep 26, 2005 7:14PM PDT

I have this for 1 of the photos, but not sure where in the 'C' drive I should put it (or if the programming is wrong).

<center>

<img src="BBMF.jpg"alt="The Battle of Britain Memorial Flight">

</center>

I am only testing the programming and the photos at the moment (trying to judge where on the page the photos should sit).

- Collapse -
If you are
Sep 27, 2005 5:12AM PDT
- Collapse -
Path to file
Oct 4, 2005 6:44AM PDT

the SRC attribute give the path to the file from the current directory. Giving your example of the following:

<img src="BBMF.jpg" alt="The Battle of Britain Memorial Flight">

the BBMF.jpg file would be located in the same directory as the .html file you are working on. If you wanted to place it in a sub directory named images you'd type the following:

<img src="images/BBMF.jpg" alt="The Battle of Britain Memorial Flight">

there are many more things you can do with paths to images but this is a good starting point.