Working image resizing on upload, and successful image download via base64.