Where does the image go?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • dgk

    Where does the image go?

    Basic image control question. How do I set the imageurl property? I
    tried relative and I just get the red X, I tried absolute and that
    returns a redX (works fine locally, just not over the web). The actual
    address (say http://www.mysite.org/theimage.jpg) should point to an
    image in the virtual IIS directory, in this case
    D:/inetpub/wwwroot/mysite. www.mysite.org is actually a dyamic IP
    address that is mapped via www.gotdns.org but I don't think that is
    the problem.

  • Kevin Spencer

    #2
    Re: Where does the image go?

    How about using the IP address of the server?

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    What You Seek Is What You Get.

    "dgk" <sonicechoes-spamless@hot-nospamp-mail.com> wrote in message
    news:ucm041hs1h 09b7sit3nopae25 dg6qj4lc6@4ax.c om...[color=blue]
    > Basic image control question. How do I set the imageurl property? I
    > tried relative and I just get the red X, I tried absolute and that
    > returns a redX (works fine locally, just not over the web). The actual
    > address (say http://www.mysite.org/theimage.jpg) should point to an
    > image in the virtual IIS directory, in this case
    > D:/inetpub/wwwroot/mysite. www.mysite.org is actually a dyamic IP
    > address that is mapped via www.gotdns.org but I don't think that is
    > the problem.
    >[/color]


    Comment

    • dgk

      #3
      Re: Where does the image go?

      On Tue, 22 Mar 2005 13:38:56 -0500, "Kevin Spencer"
      <kevin@DIESPAMM ERSDIEtakempis. com> wrote:
      [color=blue]
      >How about using the IP address of the server?[/color]

      Thanks. I did try that and it wasn't working either. Besides, it's a
      dynamic IP address and I could never hardcode that. Oddly it doesn't
      actually change for months but I can't plan on that. Of course, I have
      to have gotdns.org remap the address anyway once it changes but I can
      have that done automatically I think.

      There was something else weird going on with the app anyway. I kept
      viewing the source and the source did not reflect the page. That is, I
      saw something about the browser not supporting frames and please
      <CLICK HERE>. Nothing about the image or even the text on the webpage.
      I had written a default.aspx just to redirect the user to the real
      main page so I scrapped that approach and just looked through IIS
      until I found where to set the actual first page as one of the
      defaults and that worked fine. Then I trashed the first page and
      started over just using the filename as the address (it is in the same
      directory as the app) and it worked perfectly. So it wasn't the URL
      that was bad, it was just something I had screwed up elsewhere.

      Comment

      Working...