View Complete Post
I have created a image upload for our ID card system to allow users to upload new images, edit them and submit for approval. This is all working well with a combination of asp.net (c#) and jquery to give a seemless editor etc.
We have had a few users who I cannot believe have scanned a photo of themself and then just submitted it with the A4 page of white and little photo.
I am wondering if anyone can help with a suggestion on how I could possibly reduce the load of these coming through (I can't believe they can be this stupid), it stipulates UK passport standards.
Would my only option be to check for a single continues colour that occurs and if it reaches a certain percentage point say 60% then to just send back an error stating they need to crop the image.
Can anyone help with providing sample or that I can use to move this one on.
I am still in disbelief on this one. the other one is they take a photo of whole body and other in it and cut straight down middle chopping the people out but supplying a photo that no use for an id photo card....but that I can't imagine being solved programatically as I need to determine where their face dimensions are and what percentage of the actual photo is taken up by it and if it below a threshold reject it.
I have the following gridview inside an updatepanel that makes the bind from a datatable:
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<asp:Button ID="ButtonAdd" runat="server" OnClick="ButtonAdd_Click" Text="Novo Artigo" />
<asp:GridView ID="Dados" runat="server" AutoGenerateColumns="False"
CssClass="Grid" Width="100%" CellPadding="4" ForeColor="#333333"
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
<asp:Button ID="AbrirModal" runat="server" Text="->" />
<asp:PopupControlExtender ID="PopupControlExtender1" runat="server"
I have a webform that has a header and iframe, what I need to do is on load detemine the users screen height and then set the height on the iframe. Can someone explain or show me an example of how to do this.
Thanks in advance.