Added the ability to upload images.