Class for easy upload of image. Allow resize and compression (but result will be jpg).