473,386 Members | 1,924 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,386 software developers and data experts.

Correct path to image in Solution Explorer (VS 2013)?

What is the correct path please to reference an image that is held in my Images folder in VS 2013? This does not work:

Expand|Select|Wrap|Line Numbers
  1. <img src="Images/image-slider-2.jpg" width="450" height="450" alt="" />
or this:

Expand|Select|Wrap|Line Numbers
  1. <img src="/Images/image-slider-1.jpg" width="450" height="450" alt="" />
or this:

Expand|Select|Wrap|Line Numbers
  1. <img src="~/Images/image-slider-1.jpg" width="450" height="450" alt="" />
  2.  
The Web page that should display the photo is in the default Account folder at the top of Solution Explorer.

This, however,

Expand|Select|Wrap|Line Numbers
  1. <img src="/Images/image-slider-1.jpg" width="450" height="450" alt="" />
does work where the Web page is not in its own folder.

Thank you.
Dec 19 '17 #1
0 1829

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: n3crius | last post by:
I've noticed that when I'm programming Windows applications in the .net sutdio I can't see an expansion option in the Solution Explorer to get the .cs behind the WindowsForm. In contrast, I can...
1
by: Max Khitrov | last post by:
Hello everyone, I'm working on a VS .NET add-in that will allow developers to use Subversion software from within the IDE (much like Source Safe). Ideally, I would like for my plug-in to be able...
4
by: Alpha | last post by:
I have a small Window application and through out the different forms I create a different dataset. At the begining I used the Tools to drag and drop the SqlDataAdapter, connection and dataset...
2
by: Paul | last post by:
Anybody know what is the best way to move a web project to another physical path? It seems loaded with issues that make this difficult. I am considering creating a new project in the new path...
7
by: Larry Woods | last post by:
I don't see the pattern. I have a couple of solutions that I acquired from someone else. When I load these, I see the .vbproj and .vbproj.user files in the Solution Explorer. BUT, when I create...
2
by: Bruce Russell | last post by:
This may sound stupid but I can't rename the WebForm1.aspx in the solution explorer. The file is located in my local web server at C:\Inetpub\wwwroot\Lab3-VB-Starter\WebForm1.aspx Is there...
0
by: José Joye | last post by:
Hello, Is there a way within VS2005 to synchronize the Solution Explorer view and the file we are currently working on. Say I'm working on blabla.cs file which is located within the foo...
5
by: =?Utf-8?B?U2NhbmJveQ==?= | last post by:
Guyz, I want to remove items from the Solution Explorer. The VBE 2005 help system claims that to do this, you have to:- 1. Select the item you want to remove. 2. On the 'Edit' menu,...
0
by: Johnny Jörgensen | last post by:
In an add-in I'm doing, I need to get the full filename of the file(s) selected by the Visual Studio 2005 user at a given time. Using: Dim win As Window = _applicationObject.ActiveWindow ...
1
by: Lars | last post by:
I have a solution in VS 2008 with 10 projects, 5 of which are VB and the remainder are C#. When I expand any of the VB projects, I see no References folder as I do in the C# projects. What...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.