redirect to referrer after adding image hash ban