Fix redirect on thumb method which didn't work well on certain nginx and apache configuration

Le code `$this->redirect($this->referer());` planter lors de la redirection sur certaines configuration serveur