Using .jpg files in a .htm file
-
Now, I'm no internet website expert. I've been developing some .htm files for use with a windows application (html help feature). I find a certain aspect of using word 2003 to be peculiar and was hoping someone could help me with some insight. Let's say I create a new document within word and save it as a file MyFile.htm. Now, I want to display a picture in this file. I don't want a link to the picture. I want the actual picture to be shown in the file. So select "insert file" and choose the source directory where my file is. Now, I save the web page. Something peculiar happens. Now microsoft office has created a new directory and the pictures I inserted have been copied from the source directory into this new directory. Is this normal? I've already created a directory called "images" underneath the directory that contains all of my .htm files anyhow; this was the "source" directory I was using to store all of my image files (.jpg, .gif, etc.). I guess I didn't need to do that if office just creates a new directory anyhow. Anyone know why office does this when I use it to build web pages? Do all html editors do this? Any insight would be helpful. Shawn
-
Now, I'm no internet website expert. I've been developing some .htm files for use with a windows application (html help feature). I find a certain aspect of using word 2003 to be peculiar and was hoping someone could help me with some insight. Let's say I create a new document within word and save it as a file MyFile.htm. Now, I want to display a picture in this file. I don't want a link to the picture. I want the actual picture to be shown in the file. So select "insert file" and choose the source directory where my file is. Now, I save the web page. Something peculiar happens. Now microsoft office has created a new directory and the pictures I inserted have been copied from the source directory into this new directory. Is this normal? I've already created a directory called "images" underneath the directory that contains all of my .htm files anyhow; this was the "source" directory I was using to store all of my image files (.jpg, .gif, etc.). I guess I didn't need to do that if office just creates a new directory anyhow. Anyone know why office does this when I use it to build web pages? Do all html editors do this? Any insight would be helpful. Shawn
hi shawn, its normal that the word creates a dir(with the same name of the html file) of its own and keep all the pic files in it. you dont have to worry about how to keep the images in a dir of your own. but be sure when moving the file to move the dir also with it.
-
Now, I'm no internet website expert. I've been developing some .htm files for use with a windows application (html help feature). I find a certain aspect of using word 2003 to be peculiar and was hoping someone could help me with some insight. Let's say I create a new document within word and save it as a file MyFile.htm. Now, I want to display a picture in this file. I don't want a link to the picture. I want the actual picture to be shown in the file. So select "insert file" and choose the source directory where my file is. Now, I save the web page. Something peculiar happens. Now microsoft office has created a new directory and the pictures I inserted have been copied from the source directory into this new directory. Is this normal? I've already created a directory called "images" underneath the directory that contains all of my .htm files anyhow; this was the "source" directory I was using to store all of my image files (.jpg, .gif, etc.). I guess I didn't need to do that if office just creates a new directory anyhow. Anyone know why office does this when I use it to build web pages? Do all html editors do this? Any insight would be helpful. Shawn
Personally I would not use Word to create webpages. I use Notepad, but you can also find free html editors on the net. You can also use dreamweaver or frontpage or something. Even Visual Studio can be of assistance. These will give you more free choice on how to create you site-structure. Good luck. "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix