adding the functionality of uploading images to articles