Fixed the upload image portion.