Update ImagesController.php

Think this might be all it takes. fixes portableant/Beowulf---PAS/#55