473,399 Members | 3,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

NEw Website Project, User Controls and Can't see images?

First, I am using VS2005 with windows XP. I am having an issue where I cannot
see the images in my usercontrols or the ASPX pages they are dropped onto
(the ASPX pages are on the root of the site for now). Indies my user control
I am using a standard html img tag:
<img src="/images/imageName.jpg" alt="" title="Test"/>
Here is the path structure
c:\websites\NewSite
Under NewSite we have these folders
Images
UserControls
The usercontrol is in the UserControls folder. if I change the src to
src="../images/imageName.jpg". I can see the images int he UC, but not when I
drop it on an ASPX page int he root of the site. Also, I cannot see the
images, when on an ASPX page if I keep the scr the same as above. If I change
the scr to src="images/imageName.jpg" I can then see the images in the ASPX
page, but obviously not on the userControl. I have tried creating an ASP.Net
web application, just a website project, and have changed what I use for the
web server (meaning I have created a site on my 2003 server and have pointed
the app to look at the site. I have also tired using the built in web server
with VS2005).

If I use src="/images/imageName.jpg" the site builds OK and I can see the
images in the brwoser, but not in VS2005. I have tried using ~ in front of
the /, but no go there. I have read Scott's blog on how to get this to work,
but it didn’t work for me. Perhaps I am not setting up my environment
correctly. Thanks to all who may reply.

Daniel

May 9 '07 #1
0 1214

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Bozo Schmozo | last post by:
Greetings! I've searched groups.google.com already to see if I can determine if using PHP/MySQL (if needed) for a web site I wish to develop. As the subject indicated, it will be a content...
4
by: Lovely Angel | last post by:
Dear Friends Hope you all doing great First, thanks for making life easier for me, by helping me whenever I needed you. Its been quite sometime that I have worked on websites, designing them,...
6
by: Steve Mauldin | last post by:
I have three websites that were developed by using the same code in .net. They are all located under wwwroot on my desktop running windows 2000 pro.because Windows 2000 pro only supports a single...
2
by: Rob Dob | last post by:
Hi, How do I go about installing another Web Site Project inside my existing VS2005 website project. I currently have both a forum WSP and my main WSP application within the same solution. Both...
13
by: Kobee | last post by:
Hi, I'm having a few issues adapting to new 2.0 "website" project vs. the old 1.1 "web application". One of the major issues I'm having is with the notion of namespaces. Using the old way, I...
2
by: letsgetsilly | last post by:
I'm developing the external corporate website for my company in Visual Studio 2003 using html, css, and a user web control for the header/navigation. When I try to print any of the pages only the...
1
by: =?Utf-8?B?RGFuaWVsIERpVml0YQ==?= | last post by:
First, I am using VS2005 with windows XP. I am having an issue where I cannot see the images in my usercontrols or the ASPX pages they are dropped onto (the ASPX pages are on the root of the site...
2
by: Chris Paxton | last post by:
I have a fairly basic VB.NET application that I converted from VS2003 to VS2005 and now it crashed the VS2005 IDE pretty regularly while trying to use the form designer. I've removed any 3rd...
3
by: sameaname | last post by:
Hi We have the below 6 class libraries in our ASP.NET project 1. Application.UI - //Contains all the aspx and UI control, css/ images web.config etc. (assembly name : Project.Application.UI)...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.