Bug in ImagesController fixed