Results 1 to 4 of 4

Thread: displaying .gif [RESOLVED]

  1. #1

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075

    displaying .gif [RESOLVED]

    I have this .gif on my page. Works fine on my local server. When I access my computer from another computer the .gif does not display?

    ImageUrl="file:///C:\Inetpub\wwwroot\pbss\Interstate.gif
    Last edited by EyeTalion; Jan 9th, 2003 at 01:12 PM.

  2. #2
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497
    Is this a serious post?
    Need to re-register ASP.NET?
    C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i

    (Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)

  3. #3
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497
    Since I've not known you to make irrelevant posts, Ill assume so.

    If you have an image tag:

    <img src="file:///c:/anything">

    Then when the browser receives the page, it is going to look for a File on the C Drive of the computer that your end user is on.

    It would never be looking at your computer.

    You need to change the URL tag to be relative:

    ImageUrl="/pbss/Interstate.gif"
    Need to re-register ASP.NET?
    C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i

    (Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)

  4. #4

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    got it working...thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width