Welcome Guest Search | Active Topics | Members | Log In | Register

CAPTCHA image not showing in hosted environment. Options · View
JS
Posted: Wednesday, February 24, 2010 8:35:13 AM
Rank: Newbie
Groups: Member

Joined: 8/4/2009
Posts: 3
Points: 9
Location: Newcastle upon Tyne
Hi,

I have a problem with showing the CAPTCHA image as below:

Page mark-up:
Code:
CAPTCHA - Completely Automated Turing Test To Tell Computers and Humans Apart<br />
<asp:Image ID="Image1" runat="server" ImageUrl="~/images/CaptchaImage/JpegImage.aspx" />
<p>
      Please copy what you see in the image above into the box below.</p>
<asp:TextBox ID="txtCaptcha" runat="server"></asp:TextBox><br />
<br />


When running locally in VS2008 all is fine. However, once deployed the image does not show:

Browser source:
Code:
<input name="ctl00$Content$txtPasswordCheck" id="ctl00_Content_txtPasswordCheck" type="text"><br>
<br>
       
<img id="ctl00_Content_Image1" src="../images/CaptchaImage/JpegImage.aspx" style="border-width: 0px;">
<p>
     Please copy what you see in the image above into the box below.</p>
<input name="ctl00$Content$txtCaptcha" id="ctl00_Content_txtCaptcha" type="text"><br>
<br>


I have check the path with ~, .., and / , etc. But that does not seem to make any difference. Is there some thing I should look out for that would influence the rendering here?

Any suggestions are welcome.

JS.
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.026 seconds.