image missing in forms authentication

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top