Added missing @login_required decorator to image upload view.