NF: informative error when trying to slice images

From suggestion by Eric L.
Merge pull request #271 from matthew-brett/error-on-slice

MRG: informative error when trying to slice images

From suggestion by Eric L.