refactor(image controller): removed some commented out code