473,387 Members | 1,495 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,387 software developers and data experts.

Crazy Image Problem

I know this is going to be embarresingly simple, but I cant see the wood for
the trees at the moment.

If I create a webform and place an image control on it and select ( Browse
an image ) it appears for me on the page, and if I launch the browser, it
allso appears ( Note the image property has the Fil:/// x x x x /x x x x
URL.

However, if I make the URL
http://MyLocalMachine/MyAspNetApplication/Image.jpeg then this will not
display ?

Any ideas ?
Nov 19 '05 #1
3 1045
Where is the image in question?

If it is not under your virtual root then any url used will be incorrect.

It sounds like the url is not mapping to the image correctly.

You really didn't give much info so it is hard to give a reasonable answer..

Cheers,
Adam

"Mr Newbie" <he**@now.com> wrote in message
news:ur**************@TK2MSFTNGP14.phx.gbl...
I know this is going to be embarresingly simple, but I cant see the wood
for the trees at the moment.

If I create a webform and place an image control on it and select ( Browse
an image ) it appears for me on the page, and if I launch the browser, it
allso appears ( Note the image property has the Fil:/// x x x x /x x x x
URL.

However, if I make the URL
http://MyLocalMachine/MyAspNetApplication/Image.jpeg then this will not
display ?

Any ideas ?

Nov 19 '05 #2
The URL Maps to

htp://MyLocalMachine/MyWebApp/TheImageName.jpeg

If I simple use this url in the browser, the image wont load. So it seems to
be a problem with my machine serving graphic files via its own servername,
tho it will serve aspx files etc.

???
"Adam Knight" <ad**@pertrain.com.au> wrote in message
news:eg**************@TK2MSFTNGP10.phx.gbl...
Where is the image in question?

If it is not under your virtual root then any url used will be incorrect.

It sounds like the url is not mapping to the image correctly.

You really didn't give much info so it is hard to give a reasonable
answer..

Cheers,
Adam

"Mr Newbie" <he**@now.com> wrote in message
news:ur**************@TK2MSFTNGP14.phx.gbl...
I know this is going to be embarresingly simple, but I cant see the wood
for the trees at the moment.

If I create a webform and place an image control on it and select (
Browse an image ) it appears for me on the page, and if I launch the
browser, it allso appears ( Note the image property has the Fil:/// x x
x x /x x x x URL.

However, if I make the URL
http://MyLocalMachine/MyAspNetApplication/Image.jpeg then this will not
display ?

Any ideas ?


Nov 19 '05 #3
Fixed it. It was a case of "Stay up coding into the night, after coding all
day and loose urself perspective, lose your ability to add the right file
extension name like jpeg instead of jpg

Sorry for bothering u.

"Mr Newbie" <he**@now.com> wrote in message
news:eO*************@TK2MSFTNGP10.phx.gbl...
The URL Maps to

htp://MyLocalMachine/MyWebApp/TheImageName.jpeg

If I simple use this url in the browser, the image wont load. So it seems
to be a problem with my machine serving graphic files via its own
servername, tho it will serve aspx files etc.

???
"Adam Knight" <ad**@pertrain.com.au> wrote in message
news:eg**************@TK2MSFTNGP10.phx.gbl...
Where is the image in question?

If it is not under your virtual root then any url used will be incorrect.

It sounds like the url is not mapping to the image correctly.

You really didn't give much info so it is hard to give a reasonable
answer..

Cheers,
Adam

"Mr Newbie" <he**@now.com> wrote in message
news:ur**************@TK2MSFTNGP14.phx.gbl...
I know this is going to be embarresingly simple, but I cant see the wood
for the trees at the moment.

If I create a webform and place an image control on it and select (
Browse an image ) it appears for me on the page, and if I launch the
browser, it allso appears ( Note the image property has the Fil:/// x x
x x /x x x x URL.

However, if I make the URL
http://MyLocalMachine/MyAspNetApplication/Image.jpeg then this will not
display ?

Any ideas ?



Nov 19 '05 #4

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

Similar topics

11
by: doltharz | last post by:
Please Help me i'm doing something i though was to be REALLY EASY but it drives me crazy The complete code is at the end of the email (i mean newsgroup article), i always use Option...
3
by: francisco lopez | last post by:
I hope not sent I twice. ok here is my problem, the javascript form validation works perfect during I put a emaildirection in the <form action:""> comand, like this: <form...
7
by: Miguel Dias Moura | last post by:
Hello, In an ASP.Net / VB web page I want to display an image which filename depends of a parameter on the URL. I have this:
1
by: kfc1976 | last post by:
Hi All, First of all, following are the facts 1) I've been trying to solve the following issue for the past 8 hours (Not Kidding) 2) If I can't find the answer, It will drive me completely crazy...
1
by: kfc1976 | last post by:
Hi All, First of all, following are the facts 1) I've been trying to solve the following issue for the past 8 hours (Not Kidding) 2) If I can't find the answer, It will drive me completely crazy...
3
by: Bob Bedford | last post by:
I understand nothing about the rights ! I create directories and subdirs by php scripts. I've an admin accound, and trying to delete files by FTP, I've not the right to. Admin should have ALL...
6
by: battle.chris | last post by:
Hi all. Any advice appreciated - I'm floating an image right and the text to the left of the image is being forced down about 5px from the top of the containing area. You can see the issue...
2
by: kheitmann | last post by:
OK, so I have a blog. I downloaded the "theme" from somewhere and have edited a few areas to suit my needs. There are different font themes within the page theme. Long story short, my "Text Posts"...
16
by: MarwaAlSagheer | last post by:
Hi, I have problem with rich text box, sometimes when form open and rich text have Text ... All text was Align to left and let white space (Click Her to show false ImageShack - Image Hosting ::...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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...

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.