Reformat according to rubocop recommendations.
Return not found for deleted images.
Gend image page returns 404 if image is deleted.