Tidying up ImagesController

Refers to #490

JIRA References:
https://jira.duraspace.org/browse/HYDRASIR-275