Further improvement to the lazy image loader to make the file cache a little more intelligent.