Revert "Working version uploading images."

This reverts commit 175941d96596dcae18374e13684550492b9762a2.
updated