Better routing for image upload