473,796 Members | 2,488 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Where does the image go?

dgk
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.

Nov 19 '05 #1
2 1287
How about using the IP address of the server?

--
HTH,

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

"dgk" <so************ ******@hot-nospamp-mail.com> wrote in message
news:uc******** *************** *********@4ax.c om...
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.

Nov 19 '05 #2
dgk
On Tue, 22 Mar 2005 13:38:56 -0500, "Kevin Spencer"
<ke***@DIESPAMM ERSDIEtakempis. com> wrote:
How about using the IP address of the server?


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.
Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
1823
by: S. David Rose | last post by:
Hello All! I am new to Python, and wanted to know if I might ask you a question regarding timing. I want a main loop which takes photos from 8 different web-cams, each can be addressed by http://ip-addr/image.jpg. That's the easy part, but I want to have 2 cameras poll 3-times a second, 4 cameras poll 2 times a second, and the remaining 2 cameras poll once a second. I have found lots of info suggesting the use of threads for this, all...
16
9264
by: Uncle Pirate | last post by:
This has me stumped. I am trying to use as little space as possible at the top of my document but Firefox/Mozilla insists on placing vertical space before any element. IE displays it correctly (as I want). At one point, I set some negative top margins which moved the graphics above the page in IE. Here's the link: http://abateofnm.org/ I've tried reformatting the HTML to assure there is no white space and I've tried setting top...
3
2024
by: Anders Borum | last post by:
Hello! I've come across a strange error that occurs, when you try to return a nodelist from a variable with a choose/where/otherwise statement. I'm not quite sure whether it's a bug or simply lack of W3C support. All I know is, that this Xsl document works with the current implementation of MSXML V4.0 SP2 if transformed using e.g. VB6. I'm told by the compiler at runtime, that "the expression should evaluate to a nodeset" (the...
1
1255
by: Jim Hammond | last post by:
Does a WebControls.Image object actually contain an image, and if so, how can I get it? As far as I can tell, the WebControls.Image class does not contain the image itself. It seems to only contain the URL to the image, which doesn't work for me because the image file is on the client system. Thanks, Jim
10
2404
by: Gunnar G | last post by:
I'm having problem reading from the beginning of a file. Here is the code (more or less) ifstream codefin; ofstream codefout; while (not_annoyed)
0
2031
by: ghadley_00 | last post by:
Hi, I have a report that has fields that grow/shrink. These reports each have an image as a background. For records that cause the boxes to shrink / grow I get a second page that only has the image background. I don't, however, get the section margins are wider than the report margins.... I'm dealing with 8.5x11 printouts, and the printers I have available
2
2893
by: Jim Carr | last post by:
Upon entering the site www.FutureByDesign-Music.com with IE6, my clipboard is erased and then disabled in all other Windows XP applications. Navigating to another site returns clipboard functionality, but whatever was on the clipboard before is lost. If I disable running JavaScript on the page, the clipboard is unaffected. Viewing the page in Firefox does not have this issue. I think it might be the script below, which makes no sense...
8
1773
by: Lloyd Sheen | last post by:
I have a list of JPG's which are found in a SQL Server database. When the page selects a certain piece of data it will refer to the file system (resident on IIS server with a virtual directory) and files contained within a certain folder. I have been trying for quite a while to set the ImageURL of an image control to the correct information. I have googled till my mind hurts but can find nothing to help. I have even tried to copy the...
2
2940
by: Peter Oliphant | last post by:
The Image class allows loading a bitmap from a graphic file. So far I've gotten it to work with JPG and BMP files. What other graphic file formats are supported in this way? Is this fixed based on the .NET Framework used (e.g., the Image class defines which formats can be used), or can different file formats be added after-the-fact (end-user capability in contrast to developer implementation)? Also, is it possible to save an image in...
43
5213
by: Kislay | last post by:
Which of the following is correct regarding the storage of global variables : 1. Global variables exist in a memory area that exists from before the first reference in a program until after the last reference . 2.Global variables exist in the initialized data segment .
0
9683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9529
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10231
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10176
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10013
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9054
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7550
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5443
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5576
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.