Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Using .jpg files in a .htm file

Using .jpg files in a .htm file

Scheduled Pinned Locked Moved Web Development
htmlhelpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    digwizfox
    wrote on last edited by
    #1

    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

    O V 2 Replies Last reply
    0
    • D digwizfox

      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

      O Offline
      O Offline
      obymathew
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • D digwizfox

        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

        V Offline
        V Offline
        V 0
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups