Update ImagineController.php

Changes the 301 redirect to a 302 redirect - Fixes issue #429