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.