images not showing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Geeman
    New Member
    • Feb 2007
    • 4

    images not showing

    Could anyone help me with my images,When i view my application in a browser the images do'nt show up.Is there some settings that i must do or i'm i just missing something?I'm using VS C# 2005 and SQL Server 2005.
    Any help will be appriciated.
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    Check your html source code (after it is loaded in the browser) to make sure everything is really as it should be.

    Jared

    Comment

    • Geeman
      New Member
      • Feb 2007
      • 4

      #3
      Thanx Jared.
      The thing is,when i reference the System.Data.Sql Client,is then that the images don't show.Otherwise they do show when some of the functionalities that require sqlclient are coded.

      Have any idea on why this is happening?

      thanx in advance.

      Comment

      • jhardman
        Recognized Expert Specialist
        • Jan 2007
        • 3405

        #4
        Originally posted by Geeman
        Thanx Jared.
        The thing is,when i reference the System.Data.Sql Client,is then that the images don't show.Otherwise they do show when some of the functionalities that require sqlclient are coded.
        OK, but still there is very little the server does to tell the browser where the images are stored, it is the browser that uses the img tag to determine where it should ask for an image. So I repeat, check the source code, make sure it really is saying what you thin it is saying.

        If everything looks good from that point, you can always try:
        Code:
        <%=server.mapPath("myGif.gif")%>
        substitute in the reference you use for one of these missing pics and see if the server says it is where it should be. Does that make sense?

        Jared

        Comment

        Working...