I apologize, there were few mistakes in the article on ASP.NET Image Uploading. There was a logic error in the resizing method. Furthermore, I decided to use the <asp:FileUpload /> control instead of the HTML input, FileUpload automatically adds a proper encryption type to the form.

The article is still available by its previous URL, but now it's correct, as well as the project files.