Shorten image names.