Solved

Image not getting diaplayed in the browser

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
jquery validation by class 12 49
css border raidius issue 7 74
MVC and Angular 2 71
use of cookies and regulations 1 54
This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

746 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

12 Experts available now in Live!

Get 1:1 Help Now