Functionality for saving and zipping images works but sending images is still buggy