473,498 Members | 703 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Image question

I have a small appliaction where I have placed an image control on an aspx
web page. In the ImageURL property of the Image control I point to where a
..jpg file resides. This is all done on localhost. I copy the project to
the web. However, when web page is viewed using the web no picture is seen,
just an icon that represent the picture.

Can someone tell me what I am doing wrong. If it is of interest, I see the
picture when I access the web from the same computer from which I created
the application, but not from other machines. When I select Project, Copy
Project, the radio is on "All files in the source project folder"
What am I missing?
Nov 18 '05 #1
3 885
It sounds like your link is using a local file path rather than a URL to a
location in your web.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Woody Splawn" <no****@splawns.com> wrote in message
news:#b**************@tk2msftngp13.phx.gbl...
I have a small appliaction where I have placed an image control on an aspx
web page. In the ImageURL property of the Image control I point to where a
.jpg file resides. This is all done on localhost. I copy the project to
the web. However, when web page is viewed using the web no picture is seen, just an icon that represent the picture.

Can someone tell me what I am doing wrong. If it is of interest, I see the picture when I access the web from the same computer from which I created
the application, but not from other machines. When I select Project, Copy
Project, the radio is on "All files in the source project folder"
What am I missing?

Nov 18 '05 #2
Take a look at the properties for that image (right-click on the image in
the browser to view the properties) and see what the browser says is the
location of the image. Check to see if it is what you expect.

"Woody Splawn" <no****@splawns.com> wrote in message
news:#b**************@tk2msftngp13.phx.gbl...
I have a small appliaction where I have placed an image control on an aspx
web page. In the ImageURL property of the Image control I point to where a
.jpg file resides. This is all done on localhost. I copy the project to
the web. However, when web page is viewed using the web no picture is seen, just an icon that represent the picture.

Can someone tell me what I am doing wrong. If it is of interest, I see the picture when I access the web from the same computer from which I created
the application, but not from other machines. When I select Project, Copy
Project, the radio is on "All files in the source project folder"
What am I missing?

Nov 18 '05 #3
dgk
On Fri, 7 May 2004 10:46:55 -0700, "Peter Rilling"
<pe***@nospam.rilling.net> wrote:
Take a look at the properties for that image (right-click on the image in
the browser to view the properties) and see what the browser says is the
location of the image. Check to see if it is what you expect.

"Woody Splawn" <no****@splawns.com> wrote in message
news:#b**************@tk2msftngp13.phx.gbl...
I have a small appliaction where I have placed an image control on an aspx
web page. In the ImageURL property of the Image control I point to where a
.jpg file resides. This is all done on localhost. I copy the project to
the web. However, when web page is viewed using the web no picture is

seen,
just an icon that represent the picture.

Can someone tell me what I am doing wrong. If it is of interest, I see

the
picture when I access the web from the same computer from which I created
the application, but not from other machines. When I select Project, Copy
Project, the radio is on "All files in the source project folder"
What am I missing?


I have the same problem. The jpg doesn't download in the page, it has
to pull it from a url somewhere? So I have to create a repository for
my images on some specific url?
Nov 18 '05 #4

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

Similar topics

3
3624
by: Ralph Freshour | last post by:
My .php app displays an image on the web page, I notice that different ..jpg images display "funny" - apparently they all have slightly different image widths and heights yet in the image tag I...
0
2459
by: Vlado | last post by:
Hello, I need to copy/paste image from Java application to/from the System clipboard. On windows everything is just fine, but on Mac OS is not. The problem is that when I transfer image to the...
10
2913
by: Fred Nelson | last post by:
Hi: I have programmed in VB.NET for about a year and I'm in the process of learing C#. I'm really stuck on this question - and I know it's a "newby" question: In VB.NET I have several...
11
2005
by: KarimL | last post by:
Thanks for your advices... but i need to get the Image height because i dynamically resize the height of my webcontrol based on the image height. More i just have the url (relative parth) to the...
68
4074
by: Nak | last post by:
Hi there, This might sound like a silly question but, technically could an image object be used for any image format? For example if I were to make plugins for my application, could they be...
35
2631
by: Stan Sainte-Rose | last post by:
Hi, What is the better way to save image into a database ? Just save the path into a field or save the image itself ? I have 20 000 images (~ 10/12 Ko per image ) to save. Stan
12
9230
by: Lance | last post by:
hey all, first time vb.net 2005 user, after sticking vb6 out for a long time... anyway, using this code ====================== Dim FS As FileStream = File.OpenRead(Filename) Dim theImage As...
4
3432
by: LT.Ang | last post by:
I am developing an application that possibly opens very large images - bmp, jpeg, tiff. I have 2 questions: Language: C#, VS .NET 2003. 1. When the program opens a BMP image, the amount of...
6
6427
by: Mark Denardo | last post by:
My question is similar to one someone posted a few months back, but I don't see any replies. Basically I want to be able to have users upload photos and save them in a database (as byte data)...
6
4731
by: David Stone | last post by:
I have a simple question about the alt content of area elements within an image map: is it redundant to include phrases such as "link to..." or "jump to..."? My initial thought is 'yes', since...
0
7124
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,...
0
7200
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...
1
6884
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...
0
7375
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...
0
5460
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,...
0
4586
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3090
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...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
651
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.