Solved

Image not getting diaplayed in the browser

Posted on 2006-11-27
1
197 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 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

813 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now