473,406 Members | 2,894 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,406 software developers and data experts.

image missing in forms authentication

jos
The image (gif) comes up as a red cross until the user is authenticated in a
forms authentication application.

Is there a way around this?

<authentication mode ="Forms">
<forms loginUrl="login.aspx"></forms>
</authentication>

In the login.aspx I have a table with the image:

<table>
<tr>
<td style="width: 100px">
</td>
<td style="width: 100px">
<img src="~/images/mypicture.gif" /></td>
</tr>
</table>

Thanks for the attention

Jos

Apr 14 '06 #1
1 1825
Hi,

Instead of using "~/", use the full path of the image file. I think that
your url was changed and picture can not be found.

Have a nice work,

Aytaç ÖZAY
Software Engineer

"jos" <jo*@discussions.microsoft.com> wrote in message
news:0E**********************************@microsof t.com...
The image (gif) comes up as a red cross until the user is authenticated in
a
forms authentication application.

Is there a way around this?

<authentication mode ="Forms">
<forms loginUrl="login.aspx"></forms>
</authentication>

In the login.aspx I have a table with the image:

<table>
<tr>
<td style="width: 100px">
</td>
<td style="width: 100px">
<img src="~/images/mypicture.gif" /></td>
</tr>
</table>

Thanks for the attention

Jos


Apr 14 '06 #2

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

Similar topics

6
by: Billy Jacobs | last post by:
I have a website which has both secure and non-secure pages. I want to uses forms authentication. How do I accomplish this? Originally I had my web.config file in the root with Forms...
15
by: Anand Ganesh | last post by:
HI All, I have an Image. I want to clip a portion of it and copy to another image. How to do this? I know the bounding rectangle to clip. Any suggestions please. Thanks for your time and...
2
by: Ryan Moore | last post by:
I am creating a site that has an "Uploads" directory where users can upload image files (let's say .jpgs and .gifs). When a user uploads an image, the system creates a directory within this...
2
by: WJ | last post by:
I have an Image.Jpg on my asp.Net page, how to I implement the HREF so that when I click on the image, the system will logon to a specified web site, like that of Front Page. Thanks John
11
by: tma | last post by:
I have the following HTML in use on my web page. I need it to show a graphic image on the page but do not know what to use in the codebehind to make the graphic appear. If I load the source url in...
2
by: dgk | last post by:
I have an image in the masterpage which works fine everywhere except the login page. I have the login control on a page (login.aspx naturally) and the user is directed to it via forms...
1
by: Ted Ngo | last post by:
Hi All, I try to create a login screen using mode="Forms" Web Config: <authentication mode="Forms"> <forms name=".ASPXAUTH" loginUrl="Login.aspx" protection="All" timeout="30" path="/"
2
by: pop | last post by:
Microsoft says that ------------ ASP.NET version 2.0 on Windows Server 2003 protects all files in a given directory, even those not mapped to ASP.NET, such as .html, .gif, and .jpg files....
9
by: =?Utf-8?B?TmVkaW0=?= | last post by:
I have a asp.net 2/c# web database application which works fine, but ocassionaly sesion data just dissapears. It's not any timeout as it happens in the middle of work on it, and I just get 2...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.