Created image uploader to upload images for posts