Solved

Image not getting diaplayed in the browser

Posted on 2006-11-27
1
202 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 29

Accepted Solution

by:
TeRReF earned 125 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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

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 …
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

623 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