Results 1 to 3 of 3

Thread: I can't get my Images to display

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2002
    Posts
    59

    Question I can't get my Images to display

    Hi guys,
    I’m trying to build a website. To start with I have just one page on which I have put some web controls and some images. I have set up IIS and built the web app and everything seems OK. If I type in http://localhost/appname/ everything works as expected.

    However, if I try and access the page from another PC the controls display and operate correctly but the images just will not display no matter how hard I try.

    This how I set up the image:
    I draw an image control on the web page, clicked on the ImageURL in the properties box and set up the Image dialogue box. I locate the required image with the Browse button. Then I set the URL Type. I have tried the URL Type as Absolute Document Relative and Root Relative but to no avail.

    Does anyone know how?

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    take a look at the produced html source in your web browser and make sure the image links are pointing to the correct location.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    Member
    Join Date
    Jul 2002
    Posts
    59

    Question Still can't get my images to display

    I have checked the HTML code and it is pointing the the correct location. Where am I going wrong?

    What is the rule-of-thumb for storing images on a website. Should I have a dedicated folder or throw everything into the app folder. Could this be a source of the problem with .NET?

    So, any further ideas?

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