Added initial changes for image uploading