Do better redirection after image uploads