Ok, this seems weird, but i think it's a permissions problem (perhaps);
but I cannot seem to access any external resources within a web
project.
When I set up a new web app, add a resource to it, edit the default
aspx with an img tag, and run it, the generated html looks fine, but
the image will not show.
I test the path to the image and i can view it in my browser, but it
will not display on the page. Just to check i gave the img a width,
height and bgcolor and right-clicked>view image and it worked fine.
Has anyone encountered this before? 4 2573
No, but look at source on the page in question and see if it has a size of
1x1.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
*************** *************** *************** ****
Think Outside the Box!
*************** *************** *************** ****
"Neil C" <ne******@gmail .comwrote in message
news:11******** **************@ m73g2000cwd.goo glegroups.com.. .
Ok, this seems weird, but i think it's a permissions problem (perhaps);
but I cannot seem to access any external resources within a web
project.
When I set up a new web app, add a resource to it, edit the default
aspx with an img tag, and run it, the generated html looks fine, but
the image will not show.
I test the path to the image and i can view it in my browser, but it
will not display on the page. Just to check i gave the img a width,
height and bgcolor and right-clicked>view image and it worked fine.
Has anyone encountered this before?
That doesn't seem to be the case. Here's the output:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitl ed Page</title>
</head>
<body>
<form id="form1">
<div>
<img style="width:20 0px; height:200px;
background-color:#CCCCCC;" src="image.jpg" alt="image" />
</div>
</form>
</body>
</html>
Additionally this renders as expected in design view in visual studio,
just not in execution. I don't think this is an html question...
Cowboy (Gregory A. Beamer) wrote:
No, but look at source on the page in question and see if it has a size of
1x1.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
*************** *************** *************** ****
Think Outside the Box!
*************** *************** *************** ****
"Neil C" <ne******@gmail .comwrote in message
news:11******** **************@ m73g2000cwd.goo glegroups.com.. .
Ok, this seems weird, but i think it's a permissions problem (perhaps);
but I cannot seem to access any external resources within a web
project.
When I set up a new web app, add a resource to it, edit the default
aspx with an img tag, and run it, the generated html looks fine, but
the image will not show.
I test the path to the image and i can view it in my browser, but it
will not display on the page. Just to check i gave the img a width,
height and bgcolor and right-clicked>view image and it worked fine.
Has anyone encountered this before?
On top of that, it seems that the asp.net website administration tool
will not show images either... As before i can view the images wth the
path that they're linked to in the page, but they will not render
visually on the page....
Is must be the way asp.net development server is set up (or installed)
Anyone have any suggestions?
Neil C wrote:
That doesn't seem to be the case. Here's the output:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitl ed Page</title>
</head>
<body>
<form id="form1">
<div>
<img style="width:20 0px; height:200px;
background-color:#CCCCCC;" src="image.jpg" alt="image" />
</div>
</form>
</body>
</html>
Additionally this renders as expected in design view in visual studio,
just not in execution. I don't think this is an html question...
Cowboy (Gregory A. Beamer) wrote:
No, but look at source on the page in question and see if it has a size of
1x1.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
*************** *************** *************** ****
Think Outside the Box!
*************** *************** *************** ****
"Neil C" <ne******@gmail .comwrote in message
news:11******** **************@ m73g2000cwd.goo glegroups.com.. .
Ok, this seems weird, but i think it's a permissions problem (perhaps);
but I cannot seem to access any external resources within a web
project.
When I set up a new web app, add a resource to it, edit the default
aspx with an img tag, and run it, the generated html looks fine, but
the image will not show.
I test the path to the image and i can view it in my browser, but it
will not display on the page. Just to check i gave the img a width,
height and bgcolor and right-clicked>view image and it worked fine.
Has anyone encountered this before?
>
Riiight..
Well this is totally re-produceable..
All you have to do is get firefox to block images from localhost. Then
when you view pages from you computer they won't work, voila.......
Yeah i'm annonyed.. how did this block images from localhost occur??
Angry...
Cheers to cowboy for his assistance
Neil C wrote:
On top of that, it seems that the asp.net website administration tool
will not show images either... As before i can view the images wth the
path that they're linked to in the page, but they will not render
visually on the page....
Is must be the way asp.net development server is set up (or installed)
Anyone have any suggestions?
Neil C wrote:
That doesn't seem to be the case. Here's the output:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitl ed Page</title>
</head>
<body>
<form id="form1">
<div>
<img style="width:20 0px; height:200px;
background-color:#CCCCCC;" src="image.jpg" alt="image" />
</div>
</form>
</body>
</html>
Additionally this renders as expected in design view in visual studio,
just not in execution. I don't think this is an html question...
Cowboy (Gregory A. Beamer) wrote:
No, but look at source on the page in question and see if it has a size of
1x1.
>
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
>
*************** *************** *************** ****
Think Outside the Box!
*************** *************** *************** ****
"Neil C" <ne******@gmail .comwrote in message
news:11******** **************@ m73g2000cwd.goo glegroups.com.. .
Ok, this seems weird, but i think it's a permissions problem (perhaps);
but I cannot seem to access any external resources within a web
project.
When I set up a new web app, add a resource to it, edit the default
aspx with an img tag, and run it, the generated html looks fine, but
the image will not show.
I test the path to the image and i can view it in my browser, but it
will not display on the page. Just to check i gave the img a width,
height and bgcolor and right-clicked>view image and it worked fine.
Has anyone encountered this before?
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: nick |
last post by:
I have a problem and I've been using a cheezy work around and was
wondering if anyone else out there has a better solution.
The problem:
Let's say I have a web application appA. Locally, I set it up as
C:\domains\appA. Locally, my IIS root points to C:\domains. I don't
point it to C:\domains\appA since if I have an appB under C:\domains I
wouldn't be able to get to it. So to access it via my browser I go to
localhost/appA.
|
by: enrique |
last post by:
Hello everyone,
I'm looking for a "directory path" solution that will allows me to test my
app locally and then test on remote web server without having to update my
web.config file each time I modify the file. In other words I'm storing the
paths (for centralizing purposes) as custom <appSettings> in the web.config.
expample (for local testing):
<add key="imagePath" value="http://localhost/app_folder/10_media/images/" />
|
by: =?Utf-8?B?QnNtZW5nZW4=?= |
last post by:
I am trying to make sure that the local connection is up. I have presently
been using the NetworkChange.NetworkAvailabilityChanged Event for this. Is
there a better way to do this?
Also, I want to test to see if the Internet Connection is up. I need the
Internet to be up for the Web Services I am calling. Is it better to test
the Internet Connection through Pinging an IP Address (I presently do 3 ping
failures for it to be down) or...
|
by: Sl1ver |
last post by:
I have this piece of code
public bool Write(string KeyName, object Value)
{
try
{
// Setting
string subKey1 = "SOFTWARE\\QwixAssets";
RegistryKey rk = Registry.LocalMachine;
RegistryKey sk1 = rk.CreateSubKey(subKey1);
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |