add type for different image, thus it can be cache to different folder.