Revert "added image upload function"

This reverts commit 258ec34d5b5e3699e80f9576d339137e97a83d13.