Added basic image and data upload functionality.