473,398 Members | 2,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Images do not show in IE browser on some client machines

I used Visual Studio .NEt 2003 to develop a web form in which there is a bmp
format image. I used WebControls.Image in Design and set ImageUrl property
field to file:///C:\Inetpub\wwwroot\Demo\webimages\b2pentagons2.bmp

Any problem about it?

How to make a change for it?

Thanks

David
Sep 13 '07 #1
5 2172
Do you think client's machines have that path
C:\Inetpub\wwwroot\Demo\webimages\b2pentagons2.bmp

.....

George
"david" <da***@discussions.microsoft.comwrote in message
news:87**********************************@microsof t.com...
>I used Visual Studio .NEt 2003 to develop a web form in which there is a
bmp
format image. I used WebControls.Image in Design and set ImageUrl property
field to file:///C:\Inetpub\wwwroot\Demo\webimages\b2pentagons2.bmp

Any problem about it?

How to make a change for it?

Thanks

David

Sep 13 '07 #2
"david" <da***@discussions.microsoft.comwrote in message
news:87**********************************@microsof t.com...
>I used Visual Studio .NEt 2003 to develop a web form in which there is a
bmp
format image. I used WebControls.Image in Design and set ImageUrl property
field to file:///C:\Inetpub\wwwroot\Demo\webimages\b2pentagons2.bmp

Any problem about it?
Yes - it doesn't exist on the client machines...
How to make a change for it?
Don't use a hard-coded fully-qualified filespec - use a relative path
instead e.g.:

"../webimages/b2pentagons.bmp"
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Sep 13 '07 #3
the image path needs to be an http- addressable virtual or absolute url, eg.
mageUrl="webimages/b2pentagons2.bmp" -- or --
imageUrl = "http://yourserver/webimages/b2pentagons2.bmp"

a "FILE:///..." directive means "look for this on THIS machine's hard drive".

-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

"david" wrote:
I used Visual Studio .NEt 2003 to develop a web form in which there is a bmp
format image. I used WebControls.Image in Design and set ImageUrl property
field to file:///C:\Inetpub\wwwroot\Demo\webimages\b2pentagons2.bmp

Any problem about it?

How to make a change for it?

Thanks

David
Sep 13 '07 #4
Thank you.

David

"Mark Rae [MVP]" wrote:
"david" <da***@discussions.microsoft.comwrote in message
news:87**********************************@microsof t.com...
I used Visual Studio .NEt 2003 to develop a web form in which there is a
bmp
format image. I used WebControls.Image in Design and set ImageUrl property
field to file:///C:\Inetpub\wwwroot\Demo\webimages\b2pentagons2.bmp

Any problem about it?

Yes - it doesn't exist on the client machines...
How to make a change for it?

Don't use a hard-coded fully-qualified filespec - use a relative path
instead e.g.:

"../webimages/b2pentagons.bmp"
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Sep 13 '07 #5
Thanks.

David

"Peter Bromberg [C# MVP]" wrote:
the image path needs to be an http- addressable virtual or absolute url, eg.
mageUrl="webimages/b2pentagons2.bmp" -- or --
imageUrl = "http://yourserver/webimages/b2pentagons2.bmp"

a "FILE:///..." directive means "look for this on THIS machine's hard drive".

-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

"david" wrote:
I used Visual Studio .NEt 2003 to develop a web form in which there is a bmp
format image. I used WebControls.Image in Design and set ImageUrl property
field to file:///C:\Inetpub\wwwroot\Demo\webimages\b2pentagons2.bmp

Any problem about it?

How to make a change for it?

Thanks

David
Sep 13 '07 #6

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

Similar topics

5
by: Fred | last post by:
I've written a number of "image gallery" pages before, but I'm trying to do something a little different. All the images are rectangular (these are just pictures from my camera), and the...
10
by: cosmic foo | last post by:
I have a page with about 100 images of about 10k each. where a typical img tag looks like this, <img src="item001.jpg" height="70" alt="" onMouseOver="showPic(this)" border="0"> Not all the...
10
by: Neo Geshel | last post by:
I am seeking to hand-roll my own blog in ASP.NET 2.0 and SQLExpress 2005. Why? Because I can. Because I will gain experience. The one thing that has me stumped at square one is inline images....
9
by: Alex D. | last post by:
Hi, I have a frame in one of my pages that I use to show diferent pages each time. I am experiencing an weird behaviour in Mozilla and Firefox, when the frame's source is specified in the server...
61
by: phil-news-nospam | last post by:
Why does SVG need a different tag than other images? IMHO, SVG should be implemented as an image type just like any other image type, allowing it to work with <img> tags, and ... here is the...
3
by: wardemon | last post by:
Hi All, I have a aspx page named: ImageProcess.aspx that creates a thumbnail version of an image by passing the ImagePath, width, and height. The ImagePath is taken from a table from a database,...
1
by: | last post by:
I've built an application that scrapes JPG images of webpages and PDF instances of those webpages automatically from an RSS feed. References to the scraped resources are persisted to our database....
3
by: Ty | last post by:
I have an accordion control with serveral panes. I am placing icons and hyperlinks in the panes. In design mode the images look great but as soon as I run the project the images look like crap....
5
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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...
0
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
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,...

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.