88 users online (0 members and 88 guests)  


  Results 1 to 6 of 6

Related

  1. #1
    AndyB_5's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2002
    Location
    Hawaii
    Posts
    6

    Question HTML and different drives

    I am just learning how to use HTML. I am working on a computer on a LAN. I want to add an image to my page. The image is stored on the "T" drive and my profile is on the "H" drive. I have tried copying the image to my desktop, my briefcase, and my presonal folder, but all I can ever get is a little box with a red x in it. I can't provide a link to my page because of security on the lan. Any one have an idea?

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    'Allo.

    The problem with a LAN, or Intranet setup, is that A) its usually windoze based (urgh!) B) Security is pretty tight, with very low permissions for the average user (in other words, someones browser).

    If your page is on the Intranet, then try copying the image you would like to link to into the same directory, and using a relative path (like href="myImage.jpg" instead of href="I:\\myImage.jpg").

    If that doesnt work, then please post some more details (source code, directory locations) so we can help.

    Later!
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    AndyB_5's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2002
    Location
    Hawaii
    Posts
    6
    Ok I copied the image to my briefcase on the H drive from the Q drive. I dropped it on my desktop. When I right click on the shortcut and select properties the MS-DOS (yes I am a slave to Bill Gates' whims) name is NMPHlogo.jpeg. I tried using the name as <img src> and as <a href>. Neither worked. I also tried H://windows/Bonerac/desktop/my briefcase/NMPHlogo.jpeg. That didn't work either. Is that enough info or do you need more to help me?



    P.S. Down with the cats!

  4. #4
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    'allo m8.

    In theory, you can link images etc thru different drives, however, the drive its going to read is always going to be local.

    Really, try putting the image in the same Folder on the Intranet with your page, then using a relative path i.e. src="myPicture.jpg"

    Also, not every browser recognises .jpeg, try renaming it to .jpg.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  5. #5
    benzden's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Feb 2002
    Location
    San Antonio, Texas
    Posts
    652
    And, if you want to begin making the rest of your HTML and internet life a lot less stressful, get rid of ALL mixed case file and folder names. Make them ALL all lower case in both the HTML encoded file and when uploading to whatever web host server space you obtain.

    Remember to use forward slashes "/" instead of backslashes "\" when referencing files within HTML encoding.

    Create a minimally named folder (if not a separately partitioned hard drive), such as } or W to keep all your active internet .htm, .html, .gif, .jpg and other associated files. It'll make offline debugging and referencing a lot easier.

  6. #6
    AndyB_5's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2002
    Location
    Hawaii
    Posts
    6

    Cool

    Thanks, you are life savers. the image was already named .jpg, and my dumb @$$ was typing .jpeg. As soon as I have a little more time, I'll post the page so you can see how it looks



Tags for this Thread