removing unused variable in images controller.
Merge pull request #2742 from gogogarrett/refactor/images-controller

removing unused variable in images controller.