Adds automatic thumbnailing of image uploads.