Refactoring image handling in controller

Printable View