Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Image not getting diaplayed in the browser

Posted on 2006-11-27
1
Medium Priority
?
203 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 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
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…

704 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