Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Image not getting diaplayed in the browser

Posted on 2006-11-27
1
Medium Priority
?
204 Views
Last Modified: 2010-04-06
I have put an image on a blank default.aspx page using the Image control in Standard toolbar.

The image resides in the root folder of the website, and so is the Default.aspx page.

In the source code of the page the Image Url = "imageName.jpg". The whole line is:
<asp:Image ID="Image1" runat="server" BorderColor="Navy" BorderStyle="Solid"
            BorderWidth="1px" Height="115px" ImageUrl="imageName.jpg" Width="800px" /><br />

But, I can't still see the image in the browser, though I can see it in visual studio.
I get a red X instead and on seeing the properties it shows me the path name as:
http://xyz.co.uk/imageName.jpg

Despite trying various combinations of "/" and "\", I am unable to solve this problem.

Can some expert please help.

cheers

0
Comment
Question by:atkinsHOU
1 Comment
 
LVL 29

Accepted Solution

by:
TeRReF earned 375 total points
ID: 18019485
Try to type the URL to the image directly in the browser addressbar. If that doesn't work, it might be a permissions problem. Make sure that the user the webserver is running under has permissions to read the file...
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question