fixed up some out of date image-related stuff