Fix for people uploading ginormous images into the sidebar.