I am using the solution code from this question:
How would I modify the code so that if the original image is smaller than the new required size, the only thing it will do is save the original image but as a "jpg"?
Also it appears that you cannot save the new image as the original images name because I get the error. "A generic error occurred in GDI+". So, can you also provide code on how to remove the original image from the server? Thank you.