How to allow WordPress contributors to upload images

This snippet will allow WordPress contributors to upload images to the site.

Instructions
Add this to your functions.php file.