[MOD] Code of ImageCacheDatabase reformat